home *** CD-ROM | disk | FTP | other *** search
/ Hyper Stacks 1994 May / Hyper Stacks (Pacific HiTech)(1994)[Mac].iso / Science / Biology / DataMinder / DM Databases / Sequences < prev   
MacBinary  |  1992-07-31  |  113.9 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Sequences

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Sun Apr 1 10:43:04 1990, modified Fri Jul 31 06:08:01 1992, creator HyperCard, type HyperCard stack, 106496 bytes "Sequences" , at 0x1a080 9949 bytes resource default (weak)
99% file data default
74% TrID Mac HyperCard stack (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 09 53 65 71 75 65 6e | 63 65 73 00 00 00 00 00 |..Sequen|ces.....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 01 a0 00 00 | 00 26 dd a2 3b c3 f8 a6 |........|.&..;...|
|00000060| 9e c1 81 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 81 ef 00 00 |........|........|
|00000080| 00 00 70 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..p.STAK|........|
|00000090| 00 00 00 0a 00 01 a0 00 | 00 00 70 00 00 00 00 00 |........|..p.....|
|000000a0| 00 00 00 00 00 00 00 01 | 00 00 1b 04 00 00 00 03 |........|........|
|000000b0| 00 00 08 36 00 00 0b 9e | 00 00 00 01 00 00 07 00 |...6....|........|
|000000c0| 00 00 0d 44 00 00 00 00 | 00 05 00 00 18 00 00 00 |...D....|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 01 20 80 00 02 10 80 00 | 02 10 80 00 02 10 80 00 |. ......|........|
|000000f0| 6a 76 bf 43 00 00 00 00 | 00 45 00 40 01 9b 02 40 |jv.C....|.E.@...@|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0e f1 00 00 0c 68 | 00 00 00 00 00 00 00 00 |.......h|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 22 00 00 00 22 00 |........|.."...".|
|00000350| 88 00 22 00 88 00 22 00 | cc 00 33 00 cc 00 33 00 |.."...".|..3...3.|
|00000360| cc 88 33 22 cc 88 33 22 | ee 88 bb 22 ee 88 bb 22 |..3"..3"|..."..."|
|00000370| ee cc bb 33 ee cc bb 33 | ff cc ff 33 ff cc ff 33 |...3...3|...3...3|
|00000380| ff ee ff bb ff ee ff bb | ff ff ff bb ff ff ff bb |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 01 98 e0 00 00 07 00 | 7f ff ff ff 00 00 01 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 6f 6e 20 69 64 6c 65 0d | 67 6c 6f 62 61 6c 20 74 |on idle.|global t|
|00000690| 69 6d 65 4f 75 74 53 74 | 61 74 75 73 2c 74 69 6d |imeOutSt|atus,tim|
|000006a0| 65 4f 75 74 2c 73 63 72 | 65 65 6e 53 61 76 65 72 |eOut,scr|eenSaver|
|000006b0| 2c 6f 6c 64 54 69 6d 65 | 0d 61 64 64 20 31 20 74 |,oldTime|.add 1 t|
|000006c0| 6f 20 74 69 6d 65 6f 75 | 74 0d 69 66 20 74 69 6d |o timeou|t.if tim|
|000006d0| 65 6f 75 74 3e 36 30 30 | 30 20 74 68 65 6e 20 70 |eout>600|0 then p|
|000006e0| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 74 69 |ut empty| into ti|
|000006f0| 6d 65 6f 75 74 0d 65 6c | 73 65 20 69 66 20 74 69 |meout.el|se if ti|
|00000700| 6d 65 6f 75 74 3d 36 30 | 30 30 20 74 68 65 6e 0d |meout=60|00 then.|
|00000710| 69 66 20 74 69 6d 65 4f | 75 74 53 74 61 74 75 73 |if timeO|utStatus|
|00000720| 3d 74 72 75 65 20 74 68 | 65 6e 0d 70 75 74 20 65 |=true th|en.put e|
|00000730| 6d 70 74 79 20 69 6e 74 | 6f 20 74 69 6d 65 6f 75 |mpty int|o timeou|
|00000740| 74 0d 76 69 73 75 61 6c | 20 65 66 66 65 63 74 20 |t.visual| effect |
|00000750| 69 72 69 73 20 63 6c 6f | 73 65 0d 67 6f 20 68 6f |iris clo|se.go ho|
|00000760| 6d 65 0d 65 6e 64 20 69 | 66 0d 69 66 20 73 63 72 |me.end i|f.if scr|
|00000770| 65 65 6e 53 61 76 65 72 | 20 69 73 20 74 72 75 65 |eenSaver| is true|
|00000780| 20 74 68 65 6e 0d 68 69 | 64 65 20 6d 65 6e 75 62 | then.hi|de menub|
|00000790| 61 72 0d 70 75 74 20 22 | 2c 22 26 69 74 65 6d 20 |ar.put "|,"&item |
|000007a0| 33 20 6f 66 20 74 68 65 | 20 73 63 72 65 65 6e 72 |3 of the| screenr|
|000007b0| 65 63 74 26 22 2c 22 26 | 69 74 65 6d 20 34 20 6f |ect&","&|item 4 o|
|000007c0| 66 20 74 68 65 20 73 63 | 72 65 65 6e 72 65 63 74 |f the sc|reenrect|
|000007d0| 20 69 6e 74 6f 20 63 6f | 4f 72 64 73 0d 70 75 74 | into co|Ords.put|
|000007e0| 20 22 2d 22 26 28 69 74 | 65 6d 20 33 20 6f 66 20 | "-"&(it|em 3 of |
|000007f0| 74 68 65 20 73 63 72 65 | 65 6e 72 65 63 74 29 2f |the scre|enrect)/|
|00000800| 31 2e 35 26 22 2c 2d 22 | 26 28 69 74 65 6d 20 34 |1.5&",-"|&(item 4|
|00000810| 20 6f 66 20 74 68 65 20 | 73 63 72 65 65 6e 72 65 | of the |screenre|
|00000820| 63 74 29 2f 31 2e 35 20 | 62 65 66 6f 72 65 20 63 |ct)/1.5 |before c|
|00000830| 6f 4f 72 64 73 0d 73 63 | 72 65 65 6e 73 61 76 65 |oOrds.sc|reensave|
|00000840| 72 20 63 6f 4f 72 64 73 | 0d 73 68 6f 77 20 6d 65 |r coOrds|.show me|
|00000850| 6e 75 62 61 72 0d 65 6e | 64 20 69 66 0d 65 6e 64 |nubar.en|d if.end|
|00000860| 20 69 66 0d 69 66 20 74 | 68 65 20 74 69 63 6b 73 | if.if t|he ticks|
|00000870| 2d 6f 6c 64 74 69 6d 65 | 3e 31 30 30 20 74 68 65 |-oldtime|>100 the|
|00000880| 6e 20 70 75 74 20 30 20 | 69 6e 74 6f 20 74 69 6d |n put 0 |into tim|
|00000890| 65 6f 75 74 0d 70 75 74 | 20 74 68 65 20 74 69 63 |eout.put| the tic|
|000008a0| 6b 73 20 69 6e 74 6f 20 | 6f 6c 64 74 69 6d 65 0d |ks into |oldtime.|
|000008b0| 0d 70 61 73 73 20 69 64 | 6c 65 0d 65 6e 64 20 69 |.pass id|le.end i|
|000008c0| 64 6c 65 0d 0d 6f 6e 20 | 6d 6f 75 73 65 64 6f 77 |dle..on |mousedow|
|000008d0| 6e 0d 67 6c 6f 62 61 6c | 20 74 69 6d 65 6f 75 74 |n.global| timeout|
|000008e0| 0d 70 75 74 20 65 6d 70 | 74 79 20 69 6e 74 6f 20 |.put emp|ty into |
|000008f0| 74 69 6d 65 6f 75 74 0d | 70 61 73 73 20 6d 6f 75 |timeout.|pass mou|
|00000900| 73 65 64 6f 77 6e 0d 65 | 6e 64 20 6d 6f 75 73 65 |sedown.e|nd mouse|
|00000910| 64 6f 77 6e 0d 0d 6f 6e | 20 6f 70 65 6e 73 74 61 |down..on| opensta|
|00000920| 63 6b 0d 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 6c |ck.lock |screen.l|
|00000930| 6f 63 6b 20 6d 65 73 73 | 61 67 65 73 0d 73 65 74 |ock mess|ages.set|
|00000940| 20 63 75 72 73 6f 72 20 | 74 6f 20 62 75 73 79 0d | cursor |to busy.|
|00000950| 63 72 65 61 74 65 20 6d | 65 6e 75 20 22 53 65 71 |create m|enu "Seq|
|00000960| 75 65 6e 63 65 73 22 0d | 64 65 6c 65 74 65 20 6d |uences".|delete m|
|00000970| 65 6e 75 20 22 47 6f 22 | 0d 64 65 6c 65 74 65 20 |enu "Go"|.delete |
|00000980| 6d 65 6e 75 20 22 53 70 | 65 63 69 61 6c 22 0d 63 |menu "Sp|ecial".c|
|00000990| 72 65 61 74 65 74 68 65 | 6d 65 6e 75 73 0d 70 75 |reatethe|menus.pu|
|000009a0| 74 20 22 41 75 64 69 6f | 20 53 65 74 74 69 6e 67 |t "Audio| Setting|
|000009b0| 73 2c 56 6f 69 63 65 20 | 4f 6e 2c 2d 2c 46 69 6e |s,Voice |On,-,Fin|
|000009c0| 64 2e 2e 2e 2c 46 69 6e | 64 20 53 65 71 75 65 6e |d...,Fin|d Sequen|
|000009d0| 63 65 2e 2e 2e 2c 52 65 | 70 6c 61 63 65 2e 2e 2e |ce...,Re|place...|
|000009e0| 2c 4e 75 6d 62 65 72 69 | 6e 67 2c 46 6f 72 6d 61 |,Numberi|ng,Forma|
|000009f0| 74 2e 2e 2e 22 26 c2 0d | 22 2c 2d 2c 43 6f 6d 70 |t..."&..|",-,Comp|
|00000a00| 6c 65 6d 65 6e 74 2c 52 | 65 76 65 72 73 65 2c 4f |lement,R|everse,O|
|00000a10| 70 70 6f 73 69 74 65 20 | 73 74 72 61 6e 64 2c 2d |pposite |strand,-|
|00000a20| 2c 44 4e 41 20 3c 3c 20 | 3e 3e 20 52 4e 41 2c 54 |,DNA << |>> RNA,T|
|00000a30| 72 61 6e 73 6c 61 74 65 | 2c 2d 2c 49 6d 70 6f 72 |ranslate|,-,Impor|
|00000a40| 74 2e 2e 2e 2c 45 78 70 | 6f 72 74 2e 2e 2e 2c 2d |t...,Exp|ort...,-|
|00000a50| 2c 43 6c 65 61 72 20 48 | 65 61 64 65 72 2c 43 6c |,Clear H|eader,Cl|
|00000a60| 65 61 72 20 53 65 71 75 | 65 6e 63 65 2c 2d 2c 47 |ear Sequ|ence,-,G|
|00000a70| 65 6e 62 61 6e 6b 20 46 | 6f 72 6d 22 20 69 6e 74 |enbank F|orm" int|
|00000a80| 6f 20 6d 65 6e 75 20 22 | 53 65 71 75 65 6e 63 65 |o menu "|Sequence|
|00000a90| 73 22 0d 73 65 74 20 74 | 68 65 20 63 6f 6d 6d 61 |s".set t|he comma|
|00000aa0| 6e 64 63 68 61 72 20 6f | 66 20 6d 65 6e 75 69 74 |ndchar o|f menuit|
|00000ab0| 65 6d 20 22 41 75 64 69 | 6f 20 53 65 74 74 69 6e |em "Audi|o Settin|
|00000ac0| 67 73 22 20 6f 66 20 6d | 65 6e 75 20 22 53 65 71 |gs" of m|enu "Seq|
|00000ad0| 75 65 6e 63 65 73 22 20 | 74 6f 20 41 0d 73 65 74 |uences" |to A.set|
|00000ae0| 20 74 68 65 20 63 6f 6d | 6d 61 6e 64 63 68 61 72 | the com|mandchar|
|00000af0| 20 6f 66 20 6d 65 6e 75 | 69 74 65 6d 20 22 46 69 | of menu|item "Fi|
|00000b00| 6e 64 2e 2e 2e 22 20 6f | 66 20 6d 65 6e 75 20 22 |nd..." o|f menu "|
|00000b10| 53 65 71 75 65 6e 63 65 | 73 22 20 74 6f 20 46 0d |Sequence|s" to F.|
|00000b20| 73 65 74 20 74 68 65 20 | 63 6f 6d 6d 61 6e 64 63 |set the |commandc|
|00000b30| 68 61 72 20 6f 66 20 6d | 65 6e 75 69 74 65 6d 20 |har of m|enuitem |
|00000b40| 22 52 65 70 6c 61 63 65 | 2e 2e 2e 22 20 6f 66 20 |"Replace|..." of |
|00000b50| 6d 65 6e 75 20 22 53 65 | 71 75 65 6e 63 65 73 22 |menu "Se|quences"|
|00000b60| 20 74 6f 20 52 0d 73 65 | 74 20 74 68 65 20 63 6f | to R.se|t the co|
|00000b70| 6d 6d 61 6e 64 63 68 61 | 72 20 6f 66 20 6d 65 6e |mmandcha|r of men|
|00000b80| 75 69 74 65 6d 20 22 45 | 78 70 6f 72 74 2e 2e 2e |uitem "E|xport...|
|00000b90| 22 20 6f 66 20 6d 65 6e | 75 20 22 53 65 71 75 65 |" of men|u "Seque|
|00000ba0| 6e 63 65 73 22 20 74 6f | 20 45 0d 73 65 74 20 74 |nces" to| E.set t|
|00000bb0| 68 65 20 63 6f 6d 6d 61 | 6e 64 63 68 61 72 20 6f |he comma|ndchar o|
|00000bc0| 66 20 6d 65 6e 75 69 74 | 65 6d 20 22 47 65 6e 62 |f menuit|em "Genb|
|00000bd0| 61 6e 6b 20 46 6f 72 6d | 22 20 6f 66 20 6d 65 6e |ank Form|" of men|
|00000be0| 75 20 22 53 65 71 75 65 | 6e 63 65 73 22 20 74 6f |u "Seque|nces" to|
|00000bf0| 20 47 0d 69 66 20 74 68 | 65 20 68 69 6c 69 74 65 | G.if th|e hilite|
|00000c00| 20 6f 66 20 62 67 20 62 | 74 6e 20 22 4e 75 6d 62 | of bg b|tn "Numb|
|00000c10| 65 72 69 6e 67 22 20 69 | 73 20 74 72 75 65 20 74 |ering" i|s true t|
|00000c20| 68 65 6e 0d 73 65 74 20 | 74 68 65 20 63 68 65 63 |hen.set |the chec|
|00000c30| 6b 6d 61 72 6b 20 6f 66 | 20 6d 65 6e 75 69 74 65 |kmark of| menuite|
|00000c40| 6d 20 22 4e 75 6d 62 65 | 72 69 6e 67 22 20 6f 66 |m "Numbe|ring" of|
|00000c50| 20 6d 65 6e 75 20 22 53 | 65 71 75 65 6e 63 65 73 | menu "S|equences|
|00000c60| 22 20 74 6f 20 74 72 75 | 65 0d 65 6c 73 65 20 73 |" to tru|e.else s|
|00000c70| 65 74 20 74 68 65 20 63 | 68 65 63 6b 6d 61 72 6b |et the c|heckmark|
|00000c80| 20 6f 66 20 6d 65 6e 75 | 69 74 65 6d 20 22 4e 75 | of menu|item "Nu|
|00000c90| 6d 62 65 72 69 6e 67 22 | 20 6f 66 20 6d 65 6e 75 |mbering"| of menu|
|00000ca0| 20 22 53 65 71 75 65 6e | 63 65 73 22 20 74 6f 20 | "Sequen|ces" to |
|00000cb0| 66 61 6c 73 65 0d 69 66 | 20 74 68 65 20 69 63 6f |false.if| the ico|
|00000cc0| 6e 20 6f 66 20 62 67 20 | 62 74 6e 20 22 56 6f 69 |n of bg |btn "Voi|
|00000cd0| 63 65 20 56 65 72 69 66 | 79 22 20 69 73 20 22 32 |ce Verif|y" is "2|
|00000ce0| 30 36 22 20 74 68 65 6e | 0d 73 65 74 20 74 68 65 |06" then|.set the|
|00000cf0| 20 63 68 65 63 6b 6d 61 | 72 6b 20 6f 66 20 6d 65 | checkma|rk of me|
|00000d00| 6e 75 69 74 65 6d 20 22 | 56 6f 69 63 65 20 4f 6e |nuitem "|Voice On|
|00000d10| 22 20 6f 66 20 6d 65 6e | 75 20 22 53 65 71 75 65 |" of men|u "Seque|
|00000d20| 6e 63 65 73 22 20 74 6f | 20 74 72 75 65 0d 65 6c |nces" to| true.el|
|00000d30| 73 65 20 73 65 74 20 74 | 68 65 20 63 68 65 63 6b |se set t|he check|
|00000d40| 6d 61 72 6b 20 6f 66 20 | 6d 65 6e 75 69 74 65 6d |mark of |menuitem|
|00000d50| 20 22 56 6f 69 63 65 20 | 4f 6e 22 20 6f 66 20 6d | "Voice |On" of m|
|00000d60| 65 6e 75 20 22 53 65 71 | 75 65 6e 63 65 73 22 20 |enu "Seq|uences" |
|00000d70| 74 6f 20 66 61 6c 73 65 | 0d 69 66 20 74 68 65 20 |to false|.if the |
|00000d80| 73 68 6f 72 74 20 6e 61 | 6d 65 20 6f 66 20 74 68 |short na|me of th|
|00000d90| 69 73 20 63 64 3d 22 63 | 6f 76 65 72 63 61 72 64 |is cd="c|overcard|
|00000da0| 22 20 74 68 65 6e 0d 72 | 65 70 65 61 74 20 77 69 |" then.r|epeat wi|
|00000db0| 74 68 20 78 3d 36 20 74 | 6f 20 74 68 65 20 6e 75 |th x=6 t|o the nu|
|00000dc0| 6d 62 65 72 20 6f 66 20 | 6d 65 6e 75 69 74 65 6d |mber of |menuitem|
|00000dd0| 73 20 69 6e 20 6d 65 6e | 75 20 22 53 65 71 75 65 |s in men|u "Seque|
|00000de0| 6e 63 65 73 22 0d 64 69 | 73 61 62 6c 65 20 6d 65 |nces".di|sable me|
|00000df0| 6e 75 69 74 65 6d 20 78 | 20 6f 66 20 6d 65 6e 75 |nuitem x| of menu|
|00000e00| 20 22 53 65 71 75 65 6e | 63 65 73 22 0d 65 6e 64 | "Sequen|ces".end|
|00000e10| 20 72 65 70 65 61 74 0d | 65 6e 64 20 69 66 0d 75 | repeat.|end if.u|
|00000e20| 6e 6c 6f 63 6b 20 73 63 | 72 65 65 6e 20 77 69 74 |nlock sc|reen wit|
|00000e30| 68 20 76 69 73 75 61 6c | 20 65 66 66 65 63 74 20 |h visual| effect |
|00000e40| 69 72 69 73 20 6f 70 65 | 6e 0d 70 61 73 73 20 6f |iris ope|n.pass o|
|00000e50| 70 65 6e 73 74 61 63 6b | 0d 65 6e 64 20 6f 70 65 |penstack|.end ope|
|00000e60| 6e 73 74 61 63 6b 0d 0d | 6f 6e 20 63 6c 6f 73 65 |nstack..|on close|
|00000e70| 73 74 61 63 6b 0d 64 65 | 6c 65 74 65 20 6d 65 6e |stack.de|lete men|
|00000e80| 75 20 22 53 65 71 75 65 | 6e 63 65 73 22 0d 69 66 |u "Seque|nces".if|
|00000e90| 20 74 68 65 72 65 20 69 | 73 20 61 20 77 69 6e 64 | there i|s a wind|
|00000ea0| 6f 77 20 22 41 75 64 69 | 6f 20 53 65 74 74 69 6e |ow "Audi|o Settin|
|00000eb0| 67 73 22 20 74 68 65 6e | 20 63 6c 6f 73 65 20 77 |gs" then| close w|
|00000ec0| 69 6e 64 6f 77 20 22 41 | 75 64 69 6f 20 53 65 74 |indow "A|udio Set|
|00000ed0| 74 69 6e 67 73 22 0d 70 | 61 73 73 20 63 6c 6f 73 |tings".p|ass clos|
|00000ee0| 65 73 74 61 63 6b 0d 65 | 6e 64 20 63 6c 6f 73 65 |estack.e|nd close|
|00000ef0| 73 74 61 63 6b 0d 0d 6f | 6e 20 6f 70 65 6e 63 61 |stack..o|n openca|
|00000f00| 72 64 0d 67 6c 6f 62 61 | 6c 20 6f 6c 64 73 65 71 |rd.globa|l oldseq|
|00000f10| 2c 6f 6c 64 6e 61 6d 65 | 0d 69 66 20 74 68 65 20 |,oldname|.if the |
|00000f20| 73 68 6f 72 74 20 6e 61 | 6d 65 20 6f 66 20 74 68 |short na|me of th|
|00000f30| 69 73 20 63 64 20 69 73 | 20 69 6e 20 63 64 20 66 |is cd is| in cd f|
|00000f40| 6c 64 20 22 73 65 71 69 | 6e 64 65 78 22 20 6f 66 |ld "seqi|ndex" of|
|00000f50| 20 63 64 20 31 20 74 68 | 65 6e 0d 70 75 74 20 62 | cd 1 th|en.put b|
|00000f60| 67 20 66 6c 64 20 22 73 | 65 71 6e 61 6d 65 22 20 |g fld "s|eqname" |
|00000f70| 69 6e 74 6f 20 6f 6c 64 | 6e 61 6d 65 0d 70 75 74 |into old|name.put|
|00000f80| 20 73 74 72 69 70 28 73 | 70 61 63 65 26 72 65 74 | strip(s|pace&ret|
|00000f90| 75 72 6e 2c 62 67 20 66 | 6c 64 20 69 64 20 36 30 |urn,bg f|ld id 60|
|00000fa0| 29 20 69 6e 74 6f 20 6f | 6c 64 73 65 71 0d 70 75 |) into o|ldseq.pu|
|00000fb0| 74 20 6c 65 6e 67 74 68 | 28 6f 6c 64 73 65 71 29 |t length|(oldseq)|
|00000fc0| 20 69 6e 74 6f 20 62 67 | 20 66 6c 64 20 22 62 61 | into bg| fld "ba|
|00000fd0| 73 65 6e 75 6d 22 0d 70 | 75 74 20 62 67 20 66 6c |senum".p|ut bg fl|
|00000fe0| 64 20 22 73 74 61 74 75 | 73 22 20 69 6e 74 6f 20 |d "statu|s" into |
|00000ff0| 73 74 61 74 75 73 0d 69 | 66 20 73 74 61 74 75 73 |status.i|f status|
|00001000| 3d 22 75 6e 6c 6f 63 6b | 65 64 22 20 61 6e 64 20 |="unlock|ed" and |
|00001010| 74 68 65 20 75 73 65 72 | 6c 65 76 65 6c 3e 31 20 |the user|level>1 |
|00001020| 74 68 65 6e 0d 73 65 74 | 20 69 63 6f 6e 20 6f 66 |then.set| icon of|
|00001030| 20 62 67 20 62 74 6e 20 | 22 6c 6f 63 6b 65 64 22 | bg btn |"locked"|
|00001040| 20 74 6f 20 22 31 33 30 | 22 0d 73 65 74 20 74 68 | to "130|".set th|
|00001050| 65 20 6c 6f 63 6b 74 65 | 78 74 20 6f 66 20 62 67 |e lockte|xt of bg|
|00001060| 20 66 6c 64 20 69 64 20 | 36 30 20 74 6f 20 66 61 | fld id |60 to fa|
|00001070| 6c 73 65 0d 75 6e 6c 6f | 63 6b 6d 65 6e 75 0d 65 |lse.unlo|ckmenu.e|
|00001080| 6c 73 65 0d 73 65 74 20 | 74 68 65 20 69 63 6f 6e |lse.set |the icon|
|00001090| 20 6f 66 20 62 67 20 62 | 74 6e 20 22 6c 6f 63 6b | of bg b|tn "lock|
|000010a0| 65 64 22 20 74 6f 20 22 | 31 32 39 22 0d 73 65 74 |ed" to "|129".set|
|000010b0| 20 74 68 65 20 6c 6f 63 | 6b 74 65 78 74 20 6f 66 | the loc|ktext of|
|000010c0| 20 62 67 20 66 6c 64 20 | 69 64 20 36 30 20 74 6f | bg fld |id 60 to|
|000010d0| 20 74 72 75 65 0d 6c 6f | 63 6b 6d 65 6e 75 0d 65 | true.lo|ckmenu.e|
|000010e0| 6e 64 20 69 66 0d 69 66 | 20 74 68 65 20 68 69 6c |nd if.if| the hil|
|000010f0| 69 74 65 20 6f 66 20 62 | 67 20 62 74 6e 20 22 4e |ite of b|g btn "N|
|00001100| 75 6d 62 65 72 69 6e 67 | 22 20 69 73 20 74 72 75 |umbering|" is tru|
|00001110| 65 20 74 68 65 6e 0d 73 | 65 74 20 74 68 65 20 63 |e then.s|et the c|
|00001120| 68 65 63 6b 6d 61 72 6b | 20 6f 66 20 6d 65 6e 75 |heckmark| of menu|
|00001130| 69 74 65 6d 20 22 4e 75 | 6d 62 65 72 69 6e 67 22 |item "Nu|mbering"|
|00001140| 20 6f 66 20 6d 65 6e 75 | 20 22 53 65 71 75 65 6e | of menu| "Sequen|
|00001150| 63 65 73 22 20 74 6f 20 | 74 72 75 65 0d 65 6c 73 |ces" to |true.els|
|00001160| 65 20 73 65 74 20 74 68 | 65 20 63 68 65 63 6b 6d |e set th|e checkm|
|00001170| 61 72 6b 20 6f 66 20 6d | 65 6e 75 69 74 65 6d 20 |ark of m|enuitem |
|00001180| 22 4e 75 6d 62 65 72 69 | 6e 67 22 20 6f 66 20 6d |"Numberi|ng" of m|
|00001190| 65 6e 75 20 22 53 65 71 | 75 65 6e 63 65 73 22 20 |enu "Seq|uences" |
|000011a0| 74 6f 20 66 61 6c 73 65 | 0d 69 66 20 74 68 65 20 |to false|.if the |
|000011b0| 69 63 6f 6e 20 6f 66 20 | 62 67 20 62 74 6e 20 22 |icon of |bg btn "|
|000011c0| 56 6f 69 63 65 20 56 65 | 72 69 66 79 22 20 69 73 |Voice Ve|rify" is|
|000011d0| 20 22 32 30 36 22 20 74 | 68 65 6e 0d 73 65 74 20 | "206" t|hen.set |
|000011e0| 74 68 65 20 63 68 65 63 | 6b 6d 61 72 6b 20 6f 66 |the chec|kmark of|
|000011f0| 20 6d 65 6e 75 69 74 65 | 6d 20 22 56 6f 69 63 65 | menuite|m "Voice|
|00001200| 20 6f 6e 22 20 6f 66 20 | 6d 65 6e 75 20 22 53 65 | on" of |menu "Se|
|00001210| 71 75 65 6e 63 65 73 22 | 20 74 6f 20 74 72 75 65 |quences"| to true|
|00001220| 0d 65 6c 73 65 20 73 65 | 74 20 74 68 65 20 63 68 |.else se|t the ch|
|00001230| 65 63 6b 6d 61 72 6b 20 | 6f 66 20 6d 65 6e 75 69 |eckmark |of menui|
|00001240| 74 65 6d 20 22 56 6f 69 | 63 65 20 6f 6e 22 20 6f |tem "Voi|ce on" o|
|00001250| 66 20 6d 65 6e 75 20 22 | 53 65 71 75 65 6e 63 65 |f menu "|Sequence|
|00001260| 73 22 20 74 6f 20 66 61 | 6c 73 65 0d 69 66 20 62 |s" to fa|lse.if b|
|00001270| 67 20 66 6c 64 20 22 67 | 62 66 6f 72 6d 22 3d 74 |g fld "g|bform"=t|
|00001280| 72 75 65 20 74 68 65 6e | 0d 70 75 74 20 22 48 69 |rue then|.put "Hi|
|00001290| 64 65 20 66 6f 72 6d 22 | 20 69 6e 74 6f 20 6d 65 |de form"| into me|
|000012a0| 6e 75 69 74 65 6d 20 32 | 33 20 6f 66 20 6d 65 6e |nuitem 2|3 of men|
|000012b0| 75 20 22 53 65 71 75 65 | 6e 63 65 73 22 0d 73 65 |u "Seque|nces".se|
|000012c0| 74 20 63 6f 6d 6d 61 6e | 64 63 68 61 72 20 6f 66 |t comman|dchar of|
|000012d0| 20 6d 65 6e 75 69 74 65 | 6d 20 32 33 20 6f 66 20 | menuite|m 23 of |
|000012e0| 6d 65 6e 75 20 22 53 65 | 71 75 65 6e 63 65 73 22 |menu "Se|quences"|
|000012f0| 20 74 6f 20 47 0d 73 68 | 6f 77 20 62 67 20 66 6c | to G.sh|ow bg fl|
|00001300| 64 20 22 47 65 6e 62 61 | 6e 6b 22 0d 65 6c 73 65 |d "Genba|nk".else|
|00001310| 0d 70 75 74 20 22 47 65 | 6e 42 61 6e 6b 20 46 6f |.put "Ge|nBank Fo|
|00001320| 72 6d 22 20 69 6e 74 6f | 20 6d 65 6e 75 69 74 65 |rm" into| menuite|
|00001330| 6d 20 32 33 20 6f 66 20 | 6d 65 6e 75 20 22 53 65 |m 23 of |menu "Se|
|00001340| 71 75 65 6e 63 65 73 22 | 0d 73 65 74 20 63 6f 6d |quences"|.set com|
|00001350| 6d 61 6e 64 63 68 61 72 | 20 6f 66 20 6d 65 6e 75 |mandchar| of menu|
|00001360| 69 74 65 6d 20 32 33 20 | 6f 66 20 6d 65 6e 75 20 |item 23 |of menu |
|00001370| 22 53 65 71 75 65 6e 63 | 65 73 22 20 74 6f 20 47 |"Sequenc|es" to G|
|00001380| 0d 68 69 64 65 20 62 67 | 20 66 6c 64 20 22 47 65 |.hide bg| fld "Ge|
|00001390| 6e 62 61 6e 6b 22 0d 65 | 6e 64 20 69 66 0d 69 66 |nbank".e|nd if.if|
|000013a0| 20 62 67 20 66 6c 64 20 | 22 70 65 70 22 3d 74 72 | bg fld |"pep"=tr|
|000013b0| 75 65 20 74 68 65 6e 0d | 70 75 74 20 22 48 69 64 |ue then.|put "Hid|
|000013c0| 65 20 74 72 61 6e 73 6c | 61 74 69 6f 6e 22 20 69 |e transl|ation" i|
|000013d0| 6e 74 6f 20 6d 65 6e 75 | 69 74 65 6d 20 31 35 20 |nto menu|item 15 |
|000013e0| 6f 66 20 6d 65 6e 75 20 | 22 53 65 71 75 65 6e 63 |of menu |"Sequenc|
|000013f0| 65 73 22 0d 73 65 74 20 | 74 68 65 20 63 6f 6d 6d |es".set |the comm|
|00001400| 61 6e 64 63 68 61 72 20 | 6f 66 20 6d 65 6e 75 69 |andchar |of menui|
|00001410| 74 65 6d 20 31 35 20 6f | 66 20 6d 65 6e 75 20 22 |tem 15 o|f menu "|
|00001420| 53 65 71 75 65 6e 63 65 | 73 22 20 74 6f 20 54 0d |Sequence|s" to T.|
|00001430| 73 68 6f 77 20 62 67 20 | 66 6c 64 20 22 74 72 61 |show bg |fld "tra|
|00001440| 6e 73 6c 61 74 69 6f 6e | 22 0d 65 6c 73 65 0d 70 |nslation|".else.p|
|00001450| 75 74 20 22 54 72 61 6e | 73 6c 61 74 65 22 20 69 |ut "Tran|slate" i|
|00001460| 6e 74 6f 20 6d 65 6e 75 | 69 74 65 6d 20 31 35 20 |nto menu|item 15 |
|00001470| 6f 66 20 6d 65 6e 75 20 | 22 53 65 71 75 65 6e 63 |of menu |"Sequenc|
|00001480| 65 73 22 0d 73 65 74 20 | 74 68 65 20 63 6f 6d 6d |es".set |the comm|
|00001490| 61 6e 64 63 68 61 72 20 | 6f 66 20 6d 65 6e 75 69 |andchar |of menui|
|000014a0| 74 65 6d 20 31 35 20 6f | 66 20 6d 65 6e 75 20 22 |tem 15 o|f menu "|
|000014b0| 53 65 71 75 65 6e 63 65 | 73 22 20 74 6f 20 54 0d |Sequence|s" to T.|
|000014c0| 68 69 64 65 20 62 67 20 | 66 6c 64 20 22 74 72 61 |hide bg |fld "tra|
|000014d0| 6e 73 6c 61 74 69 6f 6e | 22 0d 65 6e 64 20 69 66 |nslation|".end if|
|000014e0| 0d 65 6e 64 20 69 66 0d | 70 61 73 73 20 6f 70 65 |.end if.|pass ope|
|000014f0| 6e 63 61 72 64 0d 65 6e | 64 20 6f 70 65 6e 63 61 |ncard.en|d openca|
|00001500| 72 64 0d 0d 6f 6e 20 69 | 6e 63 76 6f 6c 0d 67 6c |rd..on i|ncvol.gl|
|00001510| 6f 62 61 6c 20 6f 6c 64 | 76 6f 6c 0d 69 66 20 73 |obal old|vol.if s|
|00001520| 74 72 69 70 28 22 31 32 | 33 34 35 36 37 38 39 30 |trip("12|34567890|
|00001530| 22 2c 6f 6c 64 76 6f 6c | 29 20 69 73 20 65 6d 70 |",oldvol|) is emp|
|00001540| 74 79 20 74 68 65 6e 20 | 70 75 74 20 35 20 69 6e |ty then |put 5 in|
|00001550| 74 6f 20 6f 6c 64 76 6f | 6c 0d 69 66 20 6f 6c 64 |to oldvo|l.if old|
|00001560| 76 6f 6c 3c 37 20 74 68 | 65 6e 20 61 64 64 20 31 |vol<7 th|en add 1|
|00001570| 20 74 6f 20 6f 6c 64 76 | 6f 6c 0d 73 65 74 76 6f | to oldv|ol.setvo|
|00001580| 6c 75 6d 65 20 6f 6c 64 | 76 6f 6c 0d 65 6e 64 20 |lume old|vol.end |
|00001590| 69 6e 63 76 6f 6c 0d 0d | 6f 6e 20 64 65 63 76 6f |incvol..|on decvo|
|000015a0| 6c 0d 67 6c 6f 62 61 6c | 20 6f 6c 64 76 6f 6c 0d |l.global| oldvol.|
|000015b0| 69 66 20 73 74 72 69 70 | 28 22 31 32 33 34 35 36 |if strip|("123456|
|000015c0| 37 38 39 30 22 2c 6f 6c | 64 76 6f 6c 29 20 69 73 |7890",ol|dvol) is|
|000015d0| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 70 75 74 20 | empty t|hen put |
|000015e0| 35 20 69 6e 74 6f 20 6f | 6c 64 76 6f 6c 0d 69 66 |5 into o|ldvol.if|
|000015f0| 20 6f 6c 64 76 6f 6c 3e | 31 20 74 68 65 6e 20 73 | oldvol>|1 then s|
|00001600| 75 62 74 72 61 63 74 20 | 31 20 66 72 6f 6d 20 6f |ubtract |1 from o|
|00001610| 6c 64 76 6f 6c 0d 73 65 | 74 76 6f 6c 75 6d 65 20 |ldvol.se|tvolume |
|00001620| 6f 6c 64 76 6f 6c 0d 65 | 6e 64 20 64 65 63 76 6f |oldvol.e|nd decvo|
|00001630| 6c 0d 0d 6f 6e 20 69 6e | 63 72 61 74 65 0d 67 6c |l..on in|crate.gl|
|00001640| 6f 62 61 6c 20 72 65 61 | 64 72 61 74 65 0d 69 66 |obal rea|drate.if|
|00001650| 20 72 65 61 64 72 61 74 | 65 20 69 73 20 65 6d 70 | readrat|e is emp|
|00001660| 74 79 20 74 68 65 6e 20 | 70 75 74 20 32 35 20 69 |ty then |put 25 i|
|00001670| 6e 74 6f 20 72 65 61 64 | 72 61 74 65 0d 69 66 20 |nto read|rate.if |
|00001680| 74 68 65 20 68 69 6c 69 | 74 65 20 6f 66 20 62 67 |the hili|te of bg|
|00001690| 20 62 74 6e 20 22 6e 75 | 6d 62 65 72 69 6e 67 22 | btn "nu|mbering"|
|000016a0| 20 69 73 20 66 61 6c 73 | 65 20 74 68 65 6e 20 70 | is fals|e then p|
|000016b0| 75 74 20 35 20 69 6e 74 | 6f 20 69 6e 63 73 0d 65 |ut 5 int|o incs.e|
|000016c0| 6c 73 65 20 70 75 74 20 | 31 35 20 69 6e 74 6f 20 |lse put |15 into |
|000016d0| 69 6e 63 73 0d 69 66 20 | 72 65 61 64 72 61 74 65 |incs.if |readrate|
|000016e0| 3e 30 20 74 68 65 6e 20 | 73 75 62 74 72 61 63 74 |>0 then |subtract|
|000016f0| 20 69 6e 63 73 20 66 72 | 6f 6d 20 72 65 61 64 72 | incs fr|om readr|
|00001700| 61 74 65 0d 65 6e 64 20 | 69 6e 63 72 61 74 65 0d |ate.end |incrate.|
|00001710| 0d 6f 6e 20 64 65 63 72 | 61 74 65 0d 67 6c 6f 62 |.on decr|ate.glob|
|00001720| 61 6c 20 72 65 61 64 72 | 61 74 65 0d 69 66 20 72 |al readr|ate.if r|
|00001730| 65 61 64 72 61 74 65 20 | 69 73 20 65 6d 70 74 79 |eadrate |is empty|
|00001740| 20 74 68 65 6e 20 70 75 | 74 20 32 35 20 69 6e 74 | then pu|t 25 int|
|00001750| 6f 20 72 65 61 64 72 61 | 74 65 0d 69 66 20 74 68 |o readra|te.if th|
|00001760| 65 20 68 69 6c 69 74 65 | 20 6f 66 20 62 67 20 62 |e hilite| of bg b|
|00001770| 74 6e 20 22 6e 75 6d 62 | 65 72 69 6e 67 22 20 69 |tn "numb|ering" i|
|00001780| 73 20 66 61 6c 73 65 20 | 74 68 65 6e 20 70 75 74 |s false |then put|
|00001790| 20 35 20 69 6e 74 6f 20 | 64 65 63 73 0d 65 6c 73 | 5 into |decs.els|
|000017a0| 65 20 70 75 74 20 31 35 | 20 69 6e 74 6f 20 64 65 |e put 15| into de|
|000017b0| 63 73 0d 61 64 64 20 64 | 65 63 73 20 74 6f 20 72 |cs.add d|ecs to r|
|000017c0| 65 61 64 72 61 74 65 0d | 65 6e 64 20 64 65 63 72 |eadrate.|end decr|
|000017d0| 61 74 65 0d 0d 6f 6e 20 | 63 6f 6d 6d 61 6e 64 6b |ate..on |commandk|
|000017e0| 65 79 64 6f 77 6e 20 77 | 68 69 63 68 0d 69 66 20 |eydown w|hich.if |
|000017f0| 77 68 69 63 68 3d 22 2f | 22 20 61 6e 64 20 74 68 |which="/|" and th|
|00001800| 65 20 76 69 73 69 62 6c | 65 20 6f 66 20 62 67 20 |e visibl|e of bg |
|00001810| 66 6c 64 20 22 67 65 6e | 62 61 6e 6b 22 20 69 73 |fld "gen|bank" is|
|00001820| 20 74 72 75 65 20 74 68 | 65 6e 20 67 65 6e 68 65 | true th|en genhe|
|00001830| 6c 70 0d 65 6c 73 65 20 | 70 61 73 73 20 63 6f 6d |lp.else |pass com|
|00001840| 6d 61 6e 64 6b 65 79 64 | 6f 77 6e 0d 65 6e 64 20 |mandkeyd|own.end |
|00001850| 63 6f 6d 6d 61 6e 64 6b | 65 79 64 6f 77 6e 0d 0d |commandk|eydown..|
|00001860| 6f 6e 20 64 6f 6d 65 6e | 75 20 77 68 69 63 68 0d |on domen|u which.|
|00001870| 69 66 20 77 68 69 63 68 | 20 69 73 20 22 44 65 6c |if which| is "Del|
|00001880| 65 74 65 20 63 61 72 64 | 22 20 74 68 65 6e 0d 69 |ete card|" then.i|
|00001890| 66 20 75 73 65 72 6c 65 | 76 65 6c 3c 35 20 74 68 |f userle|vel<5 th|
|000018a0| 65 6e 0d 70 6c 61 79 20 | 68 61 72 70 73 69 63 68 |en.play |harpsich|
|000018b0| 6f 72 64 0d 65 78 69 74 | 20 74 6f 20 48 79 70 65 |ord.exit| to Hype|
|000018c0| 72 63 61 72 64 0d 65 6e | 64 20 69 66 0d 69 66 20 |rcard.en|d if.if |
|000018d0| 74 68 65 20 73 68 6f 72 | 74 20 6e 61 6d 65 20 6f |the shor|t name o|
|000018e0| 66 20 74 68 69 73 20 63 | 64 20 69 73 20 69 6e 20 |f this c|d is in |
|000018f0| 63 64 20 66 6c 64 20 22 | 73 65 71 69 6e 64 65 78 |cd fld "|seqindex|
|00001900| 22 20 6f 66 20 63 64 20 | 31 20 74 68 65 6e 0d 61 |" of cd |1 then.a|
|00001910| 6e 73 77 65 72 20 22 41 | 72 65 20 79 6f 75 20 73 |nswer "A|re you s|
|00001920| 75 72 65 20 74 68 61 74 | 20 79 6f 75 20 77 61 6e |ure that| you wan|
|00001930| 74 20 74 6f 20 64 65 6c | 65 74 65 20 74 68 69 73 |t to del|ete this|
|00001940| 20 63 61 72 64 3f 22 20 | 77 69 74 68 20 22 44 65 | card?" |with "De|
|00001950| 6c 65 74 65 22 20 6f 72 | 20 22 43 61 6e 63 65 6c |lete" or| "Cancel|
|00001960| 22 0d 69 66 20 69 74 20 | 69 73 20 22 43 61 6e 63 |".if it |is "Canc|
|00001970| 65 6c 22 20 74 68 65 6e | 20 65 78 69 74 20 74 6f |el" then| exit to|
|00001980| 20 48 79 70 65 72 63 61 | 72 64 0d 6c 6f 63 6b 20 | Hyperca|rd.lock |
|00001990| 73 63 72 65 65 6e 0d 64 | 65 6c 74 61 63 64 0d 67 |screen.d|eltacd.g|
|000019a0| 6f 20 74 6f 20 63 64 20 | 31 0d 75 6e 6c 6f 63 6b |o to cd |1.unlock|
|000019b0| 20 73 63 72 65 65 6e 20 | 77 69 74 68 20 76 69 73 | screen |with vis|
|000019c0| 75 61 6c 20 65 66 66 65 | 63 74 20 69 72 69 73 20 |ual effe|ct iris |
|000019d0| 63 6c 6f 73 65 0d 65 6c | 73 65 20 70 61 73 73 20 |close.el|se pass |
|000019e0| 64 6f 6d 65 6e 75 0d 65 | 6c 73 65 20 69 66 20 77 |domenu.e|lse if w|
|000019f0| 68 69 63 68 3d 22 62 72 | 6f 77 73 65 72 22 20 74 |hich="br|owser" t|
|00001a00| 68 65 6e 0d 6c 6f 63 6b | 74 68 69 6e 67 73 0d 73 |hen.lock|things.s|
|00001a10| 65 6c 65 63 74 69 76 65 | 64 69 73 61 62 6c 65 0d |elective|disable.|
|00001a20| 69 66 20 74 68 65 20 69 | 63 6f 6e 20 6f 66 20 62 |if the i|con of b|
|00001a30| 67 20 62 74 6e 20 22 6c | 6f 63 6b 65 64 22 3d 22 |g btn "l|ocked"="|
|00001a40| 31 33 30 22 20 74 68 65 | 6e 0d 73 65 74 20 74 68 |130" the|n.set th|
|00001a50| 65 20 69 63 6f 6e 20 6f | 66 20 62 67 20 62 74 6e |e icon o|f bg btn|
|00001a60| 20 22 6c 6f 63 6b 65 64 | 22 20 74 6f 20 22 31 32 | "locked|" to "12|
|00001a70| 39 22 0d 65 6e 64 20 69 | 66 0d 70 61 73 73 20 64 |9".end i|f.pass d|
|00001a80| 6f 6d 65 6e 75 0d 65 6c | 73 65 20 69 66 20 77 68 |omenu.el|se if wh|
|00001a90| 69 63 68 3d 22 55 73 65 | 72 22 20 6f 72 20 77 68 |ich="Use|r" or wh|
|00001aa0| 69 63 68 3d 22 73 75 70 | 65 72 75 73 65 72 22 20 |ich="sup|eruser" |
|00001ab0| 74 68 65 6e 0d 73 65 6c | 65 63 74 69 76 65 65 6e |then.sel|ectiveen|
|00001ac0| 61 62 6c 65 0d 6c 6f 63 | 6b 74 68 69 6e 67 73 0d |able.loc|kthings.|
|00001ad0| 69 66 20 62 67 20 66 6c | 64 20 22 73 74 61 74 75 |if bg fl|d "statu|
|00001ae0| 73 22 3d 22 75 6e 6c 6f | 63 6b 65 64 22 20 74 68 |s"="unlo|cked" th|
|00001af0| 65 6e 20 73 65 74 20 74 | 68 65 20 69 63 6f 6e 20 |en set t|he icon |
|00001b00| 6f 66 20 62 67 20 62 74 | 6e 20 22 6c 6f 63 6b 65 |of bg bt|n "locke|
|00001b10| 64 22 20 74 6f 20 22 31 | 33 30 22 0d 65 6c 73 65 |d" to "1|30".else|
|00001b20| 20 73 65 74 20 74 68 65 | 20 69 63 6f 6e 20 6f 66 | set the| icon of|
|00001b30| 20 62 67 20 62 74 6e 20 | 22 6c 6f 63 6b 65 64 22 | bg btn |"locked"|
|00001b40| 20 74 6f 20 22 31 32 39 | 22 0d 70 61 73 73 20 64 | to "129|".pass d|
|00001b50| 6f 6d 65 6e 75 0d 65 6c | 73 65 20 69 66 20 77 68 |omenu.el|se if wh|
|00001b60| 69 63 68 20 69 73 20 22 | 48 65 6c 70 22 20 61 6e |ich is "|Help" an|
|00001b70| 64 20 74 68 65 20 76 69 | 73 69 62 6c 65 20 6f 66 |d the vi|sible of|
|00001b80| 20 62 67 20 66 6c 64 20 | 22 67 65 6e 62 61 6e 6b | bg fld |"genbank|
|00001b90| 22 20 69 73 20 74 72 75 | 65 20 74 68 65 6e 20 67 |" is tru|e then g|
|00001ba0| 65 6e 68 65 6c 70 0d 65 | 6c 73 65 20 69 66 20 77 |enhelp.e|lse if w|
|00001bb0| 68 69 63 68 20 69 73 20 | 22 43 6f 6d 70 6c 65 6d |hich is |"Complem|
|00001bc0| 65 6e 74 22 20 74 68 65 | 6e 20 64 6f 43 6f 6d 70 |ent" the|n doComp|
|00001bd0| 6c 65 6d 65 6e 74 0d 65 | 6c 73 65 20 69 66 20 77 |lement.e|lse if w|
|00001be0| 68 69 63 68 20 69 73 20 | 22 44 4e 41 20 3c 3c 20 |hich is |"DNA << |
|00001bf0| 3e 3e 20 52 4e 41 22 20 | 74 68 65 6e 0d 70 75 74 |>> RNA" |then.put|
|00001c00| 20 62 67 20 66 6c 64 20 | 69 64 20 36 30 20 69 6e | bg fld |id 60 in|
|00001c10| 74 6f 20 66 69 6c 65 74 | 78 74 0d 69 66 20 66 69 |to filet|xt.if fi|
|00001c20| 6c 65 74 78 74 20 63 6f | 6e 74 61 69 6e 73 20 22 |letxt co|ntains "|
|00001c30| 54 22 20 74 68 65 6e 0d | 70 75 74 20 22 54 74 22 |T" then.|put "Tt"|
|00001c40| 20 69 6e 74 6f 20 77 31 | 0d 70 75 74 20 22 55 75 | into w1|.put "Uu|
|00001c50| 22 20 69 6e 74 6f 20 77 | 32 0d 65 6c 73 65 0d 70 |" into w|2.else.p|
|00001c60| 75 74 20 22 55 75 22 20 | 69 6e 74 6f 20 77 31 0d |ut "Uu" |into w1.|
|00001c70| 70 75 74 20 22 54 74 22 | 20 69 6e 74 6f 20 77 32 |put "Tt"| into w2|
|00001c80| 0d 65 6e 64 20 69 66 0d | 72 65 70 65 61 74 20 77 |.end if.|repeat w|
|00001c90| 69 74 68 20 78 3d 20 31 | 20 74 6f 20 6e 75 6d 62 |ith x= 1| to numb|
|00001ca0| 65 72 20 6f 66 20 6c 69 | 6e 65 73 20 69 6e 20 66 |er of li|nes in f|
|00001cb0| 69 6c 65 74 78 74 0d 70 | 75 74 20 6c 69 6e 65 20 |iletxt.p|ut line |
|00001cc0| 78 20 6f 66 20 66 69 6c | 65 74 78 74 20 69 6e 74 |x of fil|etxt int|
|00001cd0| 6f 20 6e 77 6c 6e 0d 64 | 6f 20 22 70 75 74 20 74 |o nwln.d|o "put t|
|00001ce0| 72 61 6e 73 6c 69 74 28 | 22 26 71 75 6f 74 65 26 |ranslit(|"&quote&|
|00001cf0| 77 31 26 71 75 6f 74 65 | 26 22 2c 22 26 71 75 6f |w1&quote|&","&quo|
|00001d00| 74 65 26 77 32 26 71 75 | 6f 74 65 26 c2 0d 22 2c |te&w2&qu|ote&..",|
|00001d10| 6e 77 6c 6e 29 20 69 6e | 74 6f 20 6e 77 6c 6e 22 |nwln) in|to nwln"|
|00001d20| 0d 70 75 74 20 6e 77 6c | 6e 20 69 6e 74 6f 20 6c |.put nwl|n into l|
|00001d30| 69 6e 65 20 78 20 6f 66 | 20 66 69 6c 65 74 78 74 |ine x of| filetxt|
|00001d40| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 70 75 74 20 |.end rep|eat.put |
|00001d50| 66 69 6c 65 74 78 74 20 | 69 6e 74 6f 20 62 67 20 |filetxt |into bg |
|00001d60| 66 6c 64 20 69 64 20 36 | 30 0d 65 6c 73 65 20 69 |fld id 6|0.else i|
|00001d70| 66 20 77 68 69 63 68 3d | 22 52 65 70 6c 61 63 65 |f which=|"Replace|
|00001d80| 2e 2e 2e 22 20 74 68 65 | 6e 0d 70 75 74 20 62 67 |..." the|n.put bg|
|00001d90| 20 66 6c 64 20 69 64 20 | 36 30 20 69 6e 74 6f 20 | fld id |60 into |
|00001da0| 66 69 6c 65 74 78 74 0d | 70 75 74 20 44 69 61 6c |filetxt.|put Dial|
|00001db0| 6f 67 65 72 28 22 52 65 | 70 6c 61 63 65 22 26 72 |oger("Re|place"&r|
|00001dc0| 65 74 75 72 6e 26 22 6f | 6e 20 52 65 70 6c 61 63 |eturn&"o|n Replac|
|00001dd0| 65 68 69 74 22 29 20 69 | 6e 74 6f 20 64 52 65 73 |ehit") i|nto dRes|
|00001de0| 75 6c 74 0d 69 66 20 6c | 69 6e 65 20 31 20 6f 66 |ult.if l|ine 1 of|
|00001df0| 20 64 52 65 73 75 6c 74 | 20 63 6f 6e 74 61 69 6e | dResult| contain|
|00001e00| 73 20 22 63 61 6e 63 65 | 6c 22 20 6f 72 20 6c 69 |s "cance|l" or li|
|00001e10| 6e 65 20 31 20 6f 66 20 | 64 52 65 73 75 6c 74 20 |ne 1 of |dResult |
|00001e20| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 65 78 |is empty| then ex|
|00001e30| 69 74 20 74 6f 20 48 79 | 70 65 72 63 61 72 64 0d |it to Hy|percard.|
|00001e40| 70 75 74 20 6c 69 6e 65 | 20 35 20 6f 66 20 64 72 |put line| 5 of dr|
|00001e50| 65 73 75 6c 74 20 69 6e | 74 6f 20 77 31 0d 70 75 |esult in|to w1.pu|
|00001e60| 74 20 6c 69 6e 65 20 36 | 20 6f 66 20 64 52 65 73 |t line 6| of dRes|
|00001e70| 75 6c 74 20 69 6e 74 6f | 20 77 32 0d 69 66 20 6c |ult into| w2.if l|
|00001e80| 69 6e 65 20 37 20 6f 66 | 20 64 52 65 73 75 6c 74 |ine 7 of| dResult|
|00001e90| 3d 22 66 61 6c 73 65 22 | 20 74 68 65 6e 0d 70 75 |="false"| then.pu|
|00001ea0| 74 20 6c 6f 77 65 72 74 | 6f 55 70 70 65 72 28 77 |t lowert|oUpper(w|
|00001eb0| 31 29 20 69 6e 74 6f 20 | 77 31 0d 70 75 74 20 6c |1) into |w1.put l|
|00001ec0| 6f 77 65 72 20 28 77 31 | 29 20 61 66 74 65 72 20 |ower (w1|) after |
|00001ed0| 20 77 31 0d 70 75 74 20 | 6c 6f 77 65 72 74 6f 55 | w1.put |lowertoU|
|00001ee0| 70 70 65 72 28 77 32 29 | 20 69 6e 74 6f 20 77 32 |pper(w2)| into w2|
|00001ef0| 0d 70 75 74 20 6c 6f 77 | 65 72 20 28 77 32 29 20 |.put low|er (w2) |
|00001f00| 61 66 74 65 72 20 77 32 | 0d 65 6e 64 20 69 66 0d |after w2|.end if.|
|00001f10| 72 65 70 65 61 74 20 77 | 69 74 68 20 78 3d 20 31 |repeat w|ith x= 1|
|00001f20| 20 74 6f 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 | to numb|er of li|
|00001f30| 6e 65 73 20 69 6e 20 66 | 69 6c 65 74 78 74 0d 70 |nes in f|iletxt.p|
|00001f40| 75 74 20 6c 69 6e 65 20 | 78 20 6f 66 20 66 69 6c |ut line |x of fil|
|00001f50| 65 74 78 74 20 69 6e 74 | 6f 20 6e 77 6c 6e 0d 64 |etxt int|o nwln.d|
|00001f60| 6f 20 22 70 75 74 20 74 | 72 61 6e 73 6c 69 74 28 |o "put t|ranslit(|
|00001f70| 22 26 71 75 6f 74 65 26 | 77 31 26 71 75 6f 74 65 |"&quote&|w1&quote|
|00001f80| 26 22 2c 22 26 71 75 6f | 74 65 26 77 32 26 71 75 |&","&quo|te&w2&qu|
|00001f90| 6f 74 65 26 c2 0d 22 2c | 6e 77 6c 6e 29 20 69 6e |ote&..",|nwln) in|
|00001fa0| 74 6f 20 6e 77 6c 6e 22 | 0d 70 75 74 20 6e 77 6c |to nwln"|.put nwl|
|00001fb0| 6e 20 69 6e 74 6f 20 6c | 69 6e 65 20 78 20 6f 66 |n into l|ine x of|
|00001fc0| 20 66 69 6c 65 74 78 74 | 0d 65 6e 64 20 72 65 70 | filetxt|.end rep|
|00001fd0| 65 61 74 0d 70 75 74 20 | 66 69 6c 65 74 78 74 20 |eat.put |filetxt |
|00001fe0| 69 6e 74 6f 20 62 67 20 | 66 6c 64 20 69 64 20 36 |into bg |fld id 6|
|00001ff0| 30 0d 65 6c 73 65 20 69 | 66 20 77 68 69 63 68 3d |0.else i|f which=|
|00002000| 22 72 65 76 65 72 73 65 | 22 20 74 68 65 6e 20 64 |"reverse|" then d|
|00002010| 6f 52 65 76 65 72 73 65 | 0d 65 6c 73 65 20 69 66 |oReverse|.else if|
|00002020| 20 77 68 69 63 68 3d 22 | 4f 70 70 6f 73 69 74 65 | which="|Opposite|
|00002030| 20 73 74 72 61 6e 64 22 | 20 74 68 65 6e 20 64 6f | strand"| then do|
|00002040| 4f 70 70 0d 65 6c 73 65 | 20 69 66 20 77 68 69 63 |Opp.else| if whic|
|00002050| 68 3d 74 72 61 6e 73 6c | 61 74 65 20 74 68 65 6e |h=transl|ate then|
|00002060| 20 73 65 6e 64 20 74 72 | 61 6e 73 6c 61 74 65 20 | send tr|anslate |
|00002070| 74 6f 20 74 68 69 73 20 | 62 67 0d 65 6c 73 65 20 |to this |bg.else |
|00002080| 69 66 20 77 68 69 63 68 | 3d 22 48 69 64 65 20 74 |if which|="Hide t|
|00002090| 72 61 6e 73 6c 61 74 69 | 6f 6e 22 20 74 68 65 6e |ranslati|on" then|
|000020a0| 20 73 65 6e 64 20 68 69 | 64 65 74 72 61 6e 73 6c | send hi|detransl|
|000020b0| 61 74 65 20 74 6f 20 74 | 68 69 73 20 62 67 0d 65 |ate to t|his bg.e|
|000020c0| 6c 73 65 20 69 66 20 77 | 68 69 63 68 3d 22 41 75 |lse if w|hich="Au|
|000020d0| 64 69 6f 20 53 65 74 74 | 69 6e 67 73 22 20 74 68 |dio Sett|ings" th|
|000020e0| 65 6e 20 70 61 6c 65 74 | 74 65 20 22 41 75 64 69 |en palet|te "Audi|
|000020f0| 6f 20 53 65 74 74 69 6e | 67 73 22 0d 65 6c 73 65 |o Settin|gs".else|
|00002100| 20 69 66 20 77 68 69 63 | 68 3d 22 56 6f 69 63 65 | if whic|h="Voice|
|00002110| 20 6f 6e 22 20 74 68 65 | 6e 0d 69 66 20 74 68 65 | on" the|n.if the|
|00002120| 20 63 68 65 63 6b 6d 61 | 72 6b 20 6f 66 20 6d 65 | checkma|rk of me|
|00002130| 6e 75 69 74 65 6d 20 22 | 56 6f 69 63 65 20 6f 6e |nuitem "|Voice on|
|00002140| 22 20 6f 66 20 6d 65 6e | 75 20 22 53 65 71 75 65 |" of men|u "Seque|
|00002150| 6e 63 65 73 22 20 69 73 | 20 74 72 75 65 20 74 68 |nces" is| true th|
|00002160| 65 6e 0d 73 65 74 20 74 | 68 65 20 63 68 65 63 6b |en.set t|he check|
|00002170| 6d 61 72 6b 20 6f 66 20 | 6d 65 6e 75 69 74 65 6d |mark of |menuitem|
|00002180| 20 22 56 6f 69 63 65 20 | 6f 6e 22 20 6f 66 20 6d | "Voice |on" of m|
|00002190| 65 6e 75 20 22 53 65 71 | 75 65 6e 63 65 73 22 20 |enu "Seq|uences" |
|000021a0| 74 6f 20 66 61 6c 73 65 | 0d 73 65 74 20 74 68 65 |to false|.set the|
|000021b0| 20 69 63 6f 6e 20 6f 66 | 20 62 67 20 62 74 6e 20 | icon of| bg btn |
|000021c0| 22 76 6f 69 63 65 20 76 | 65 72 69 66 79 22 20 74 |"voice v|erify" t|
|000021d0| 6f 20 22 32 30 30 22 0d | 65 6c 73 65 0d 73 65 74 |o "200".|else.set|
|000021e0| 20 74 68 65 20 63 68 65 | 63 6b 6d 61 72 6b 20 6f | the che|ckmark o|
|000021f0| 66 20 6d 65 6e 75 69 74 | 65 6d 20 22 56 6f 69 63 |f menuit|em "Voic|
|00002200| 65 20 6f 6e 22 20 6f 66 | 20 6d 65 6e 75 20 22 53 |e on" of| menu "S|
|00002210| 65 71 75 65 6e 63 65 73 | 22 20 74 6f 20 74 72 75 |equences|" to tru|
|00002220| 65 0d 73 65 74 20 74 68 | 65 20 69 63 6f 6e 20 6f |e.set th|e icon o|
|00002230| 66 20 62 67 20 62 74 6e | 20 22 76 6f 69 63 65 20 |f bg btn| "voice |
|00002240| 76 65 72 69 66 79 22 20 | 74 6f 20 22 32 30 36 22 |verify" |to "206"|
|00002250| 0d 65 6e 64 20 69 66 0d | 65 6c 73 65 20 69 66 20 |.end if.|else if |
|00002260| 77 68 69 63 68 3d 22 4e | 75 6d 62 65 72 69 6e 67 |which="N|umbering|
|00002270| 22 20 74 68 65 6e 0d 69 | 66 20 74 68 65 20 68 69 |" then.i|f the hi|
|00002280| 6c 69 74 65 20 6f 66 20 | 62 67 20 62 74 6e 20 22 |lite of |bg btn "|
|00002290| 4e 75 6d 62 65 72 69 6e | 67 22 20 69 73 20 66 61 |Numberin|g" is fa|
|000022a0| 6c 73 65 20 74 68 65 6e | 0d 73 65 74 20 74 68 65 |lse then|.set the|
|000022b0| 20 63 68 65 63 6b 6d 61 | 72 6b 20 6f 66 20 6d 65 | checkma|rk of me|
|000022c0| 6e 75 69 74 65 6d 20 22 | 4e 75 6d 62 65 72 69 6e |nuitem "|Numberin|
|000022d0| 67 22 20 6f 66 20 6d 65 | 6e 75 20 22 53 65 71 75 |g" of me|nu "Sequ|
|000022e0| 65 6e 63 65 73 22 20 74 | 6f 20 74 72 75 65 0d 73 |ences" t|o true.s|
|000022f0| 65 74 20 74 68 65 20 68 | 69 6c 69 74 65 20 6f 66 |et the h|ilite of|
|00002300| 20 62 67 20 62 74 6e 20 | 22 4e 75 6d 62 65 72 69 | bg btn |"Numberi|
|00002310| 6e 67 22 20 74 6f 20 74 | 72 75 65 0d 65 6c 73 65 |ng" to t|rue.else|
|00002320| 0d 73 65 74 20 74 68 65 | 20 63 68 65 63 6b 6d 61 |.set the| checkma|
|00002330| 72 6b 20 6f 66 20 6d 65 | 6e 75 69 74 65 6d 20 22 |rk of me|nuitem "|
|00002340| 4e 75 6d 62 65 72 69 6e | 67 22 20 6f 66 20 6d 65 |Numberin|g" of me|
|00002350| 6e 75 20 22 53 65 71 75 | 65 6e 63 65 73 22 20 74 |nu "Sequ|ences" t|
|00002360| 6f 20 66 61 6c 73 65 0d | 73 65 74 20 74 68 65 20 |o false.|set the |
|00002370| 68 69 6c 69 74 65 20 6f | 66 20 62 67 20 62 74 6e |hilite o|f bg btn|
|00002380| 20 22 6e 75 6d 62 65 72 | 69 6e 67 22 20 74 6f 20 | "number|ing" to |
|00002390| 66 61 6c 73 65 0d 65 6e | 64 20 69 66 0d 73 65 6e |false.en|d if.sen|
|000023a0| 64 20 6d 6f 75 73 65 75 | 70 20 74 6f 20 62 67 20 |d mouseu|p to bg |
|000023b0| 62 74 6e 20 22 6e 75 6d | 62 65 72 69 6e 67 22 0d |btn "num|bering".|
|000023c0| 65 6c 73 65 20 69 66 20 | 77 68 69 63 68 3d 22 46 |else if |which="F|
|000023d0| 69 6e 64 2e 2e 2e 22 20 | 74 68 65 6e 20 73 65 6e |ind..." |then sen|
|000023e0| 64 20 66 69 6e 64 73 65 | 71 73 65 61 72 63 68 73 |d findse|qsearchs|
|000023f0| 74 72 69 6e 67 20 74 6f | 20 74 68 69 73 20 62 67 |tring to| this bg|
|00002400| 0d 65 6c 73 65 20 69 66 | 20 77 68 69 63 68 20 63 |.else if| which c|
|00002410| 6f 6e 74 61 69 6e 73 20 | 22 46 69 6e 64 20 73 65 |ontains |"Find se|
|00002420| 71 75 65 6e 63 65 22 20 | 74 68 65 6e 20 73 65 61 |quence" |then sea|
|00002430| 72 63 68 73 65 71 0d 65 | 6c 73 65 20 69 66 20 77 |rchseq.e|lse if w|
|00002440| 68 69 63 68 20 63 6f 6e | 74 61 69 6e 73 20 22 46 |hich con|tains "F|
|00002450| 6f 72 6d 61 74 22 20 74 | 68 65 6e 20 66 6f 72 6d |ormat" t|hen form|
|00002460| 61 74 0d 65 6c 73 65 20 | 69 66 20 77 68 69 63 68 |at.else |if which|
|00002470| 20 63 6f 6e 74 61 69 6e | 73 20 22 45 78 70 6f 72 | contain|s "Expor|
|00002480| 74 22 20 74 68 65 6e 20 | 65 78 70 6f 72 74 0d 65 |t" then |export.e|
|00002490| 6c 73 65 20 69 66 20 77 | 68 69 63 68 20 63 6f 6e |lse if w|hich con|
|000024a0| 74 61 69 6e 73 20 22 49 | 6d 70 6f 72 74 22 20 74 |tains "I|mport" t|
|000024b0| 68 65 6e 20 69 6d 70 6f | 72 74 0d 65 6c 73 65 20 |hen impo|rt.else |
|000024c0| 69 66 20 77 68 69 63 68 | 20 63 6f 6e 74 61 69 6e |if which| contain|
|000024d0| 73 20 22 47 65 6e 62 61 | 6e 6b 22 20 74 68 65 6e |s "Genba|nk" then|
|000024e0| 20 73 68 6f 77 66 6f 72 | 6d 0d 65 6c 73 65 20 69 | showfor|m.else i|
|000024f0| 66 20 77 68 69 63 68 3d | 22 48 69 64 65 20 66 6f |f which=|"Hide fo|
|00002500| 72 6d 22 20 74 68 65 6e | 20 68 69 64 65 66 6f 72 |rm" then| hidefor|
|00002510| 6d 0d 65 6c 73 65 20 69 | 66 20 77 68 69 63 68 20 |m.else i|f which |
|00002520| 63 6f 6e 74 61 69 6e 73 | 20 22 48 65 61 64 65 72 |contains| "Header|
|00002530| 22 20 74 68 65 6e 20 70 | 75 74 20 65 6d 70 74 79 |" then p|ut empty|
|00002540| 20 69 6e 74 6f 20 62 67 | 20 66 6c 64 20 69 64 20 | into bg| fld id |
|00002550| 36 38 0d 65 6c 73 65 20 | 69 66 20 77 68 69 63 68 |68.else |if which|
|00002560| 20 63 6f 6e 74 61 69 6e | 73 20 22 53 65 71 75 65 | contain|s "Seque|
|00002570| 6e 63 65 22 20 74 68 65 | 6e 0d 69 66 20 74 68 65 |nce" the|n.if the|
|00002580| 20 69 63 6f 6e 20 6f 66 | 20 62 67 20 62 74 6e 20 | icon of| bg btn |
|00002590| 22 6c 6f 63 6b 65 64 22 | 3d 22 31 33 30 22 20 74 |"locked"|="130" t|
|000025a0| 68 65 6e 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |hen.put |empty in|
|000025b0| 74 6f 20 62 67 20 66 6c | 64 20 69 64 20 36 30 0d |to bg fl|d id 60.|
|000025c0| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 62 |put empt|y into b|
|000025d0| 67 20 66 6c 64 20 22 6e | 75 6d 62 65 72 73 22 0d |g fld "n|umbers".|
|000025e0| 65 6c 73 65 0d 61 6e 73 | 77 65 72 20 22 54 68 69 |else.ans|wer "Thi|
|000025f0| 73 20 73 65 71 75 65 6e | 63 65 20 69 73 20 70 72 |s sequen|ce is pr|
|00002600| 6f 74 65 63 74 65 64 2e | 20 59 6f 75 20 6d 75 73 |otected.| You mus|
|00002610| 74 20 75 6e 6c 6f 63 6b | 20 69 74 20 66 69 72 73 |t unlock| it firs|
|00002620| 74 2e 22 0d 70 6c 61 79 | 20 68 61 72 70 73 69 63 |t.".play| harpsic|
|00002630| 68 6f 72 64 0d 65 6e 64 | 20 69 66 0d 65 6c 73 65 |hord.end| if.else|
|00002640| 20 70 61 73 73 20 64 6f | 6d 65 6e 75 0d 65 6e 64 | pass do|menu.end|
|00002650| 20 64 6f 6d 65 6e 75 0d | 0d 0d 6f 6e 20 6e 65 77 | domenu.|..on new|
|00002660| 73 65 71 63 61 72 64 20 | 63 64 6e 61 6d 65 0d 73 |seqcard |cdname.s|
|00002670| 65 74 20 63 75 72 73 6f | 72 20 74 6f 20 77 61 74 |et curso|r to wat|
|00002680| 63 68 0d 64 6f 4d 65 6e | 75 20 22 4e 65 77 20 43 |ch.doMen|u "New C|
|00002690| 61 72 64 22 0d 75 70 64 | 61 74 65 0d 73 65 74 20 |ard".upd|ate.set |
|000026a0| 74 68 65 20 69 63 6f 6e | 20 6f 66 20 62 67 20 62 |the icon| of bg b|
|000026b0| 74 6e 20 22 4c 6f 63 6b | 65 64 22 20 74 6f 20 22 |tn "Lock|ed" to "|
|000026c0| 31 33 30 22 0d 70 75 74 | 20 22 4c 4f 43 55 53 22 |130".put| "LOCUS"|
|000026d0| 26 72 65 74 75 72 6e 26 | 22 44 45 46 49 4e 49 54 |&return&|"DEFINIT|
|000026e0| 49 4f 4e 22 26 72 65 74 | 75 72 6e 26 22 41 43 43 |ION"&ret|urn&"ACC|
|000026f0| 45 53 53 49 4f 4e 22 26 | 72 65 74 75 72 6e c2 0d |ESSION"&|return..|
|00002700| 26 22 4b 45 59 57 4f 52 | 44 53 22 26 72 65 74 75 |&"KEYWOR|DS"&retu|
|00002710| 72 6e 26 22 53 4f 55 52 | 43 45 22 26 72 65 74 75 |rn&"SOUR|CE"&retu|
|00002720| 72 6e 26 22 4f 52 47 41 | 4e 49 53 4d 22 26 72 65 |rn&"ORGA|NISM"&re|
|00002730| 74 75 72 6e c2 0d 26 22 | 52 45 46 45 52 45 4e 43 |turn..&"|REFERENC|
|00002740| 45 22 26 72 65 74 75 72 | 6e 26 22 41 55 54 48 4f |E"&retur|n&"AUTHO|
|00002750| 52 53 22 26 72 65 74 75 | 72 6e 26 22 54 49 54 4c |RS"&retu|rn&"TITL|
|00002760| 45 22 26 72 65 74 75 72 | 6e 26 22 4a 4f 55 52 4e |E"&retur|n&"JOURN|
|00002770| 41 4c 22 26 72 65 74 75 | 72 6e c2 0d 26 22 53 54 |AL"&retu|rn..&"ST|
|00002780| 41 4e 44 41 52 44 22 26 | 72 65 74 75 72 6e 26 22 |ANDARD"&|return&"|
|00002790| 43 4f 4d 4d 45 4e 54 22 | 26 72 65 74 75 72 6e 26 |COMMENT"|&return&|
|000027a0| 22 46 45 41 54 55 52 45 | 53 22 26 72 65 74 75 72 |"FEATURE|S"&retur|
|000027b0| 6e 26 22 42 41 53 45 20 | 43 4f 55 4e 54 22 26 72 |n&"BASE |COUNT"&r|
|000027c0| 65 74 75 72 6e 26 22 4f | 52 49 47 49 4e 22 20 69 |eturn&"O|RIGIN" i|
|000027d0| 6e 74 6f 20 62 67 20 66 | 6c 64 20 22 4e 6f 74 65 |nto bg f|ld "Note|
|000027e0| 73 22 0d 70 75 74 20 72 | 65 74 75 72 6e 26 63 64 |s".put r|eturn&cd|
|000027f0| 6e 61 6d 65 20 61 66 74 | 65 72 20 63 64 20 66 6c |name aft|er cd fl|
|00002800| 64 20 22 73 65 71 69 6e | 64 65 78 22 20 6f 66 20 |d "seqin|dex" of |
|00002810| 63 64 20 31 0d 70 75 74 | 20 73 6f 72 74 66 69 65 |cd 1.put| sortfie|
|00002820| 6c 64 20 28 63 64 20 66 | 6c 64 20 22 73 65 71 69 |ld (cd f|ld "seqi|
|00002830| 6e 64 65 78 22 20 6f 66 | 20 63 64 20 31 29 20 69 |ndex" of| cd 1) i|
|00002840| 6e 74 6f 20 63 64 20 66 | 6c 64 20 22 73 65 71 69 |nto cd f|ld "seqi|
|00002850| 6e 64 65 78 22 20 6f 66 | 20 63 64 20 31 0d 69 66 |ndex" of| cd 1.if|
|00002860| 20 6c 69 6e 65 20 31 20 | 6f 66 20 63 64 20 66 6c | line 1 |of cd fl|
|00002870| 64 20 22 73 65 71 69 6e | 64 65 78 22 20 6f 66 20 |d "seqin|dex" of |
|00002880| 63 64 20 31 20 69 73 20 | 65 6d 70 74 79 20 74 68 |cd 1 is |empty th|
|00002890| 65 6e 20 64 65 6c 65 74 | 65 20 6c 69 6e 65 20 31 |en delet|e line 1|
|000028a0| 20 6f 66 20 63 64 20 66 | 6c 64 20 22 73 65 71 69 | of cd f|ld "seqi|
|000028b0| 6e 64 65 78 22 20 6f 66 | 20 63 64 20 31 0d 65 6e |ndex" of| cd 1.en|
|000028c0| 64 20 6e 65 77 73 65 71 | 63 61 72 64 0d 0d 6f 6e |d newseq|card..on|
|000028d0| 20 64 65 6c 74 61 63 64 | 0d 73 65 74 20 63 75 72 | deltacd|.set cur|
|000028e0| 73 6f 72 20 74 6f 20 77 | 61 74 63 68 0d 70 75 74 |sor to w|atch.put|
|000028f0| 20 62 67 20 66 69 65 6c | 64 20 22 73 65 71 6e 61 | bg fiel|d "seqna|
|00002900| 6d 65 22 20 69 6e 74 6f | 20 68 6f 6c 64 65 72 0d |me" into| holder.|
|00002910| 67 65 74 20 73 65 61 72 | 63 68 20 28 63 64 20 66 |get sear|ch (cd f|
|00002920| 6c 64 20 22 73 65 71 69 | 6e 64 65 78 22 20 6f 66 |ld "seqi|ndex" of|
|00002930| 20 63 64 20 31 2c 68 6f | 6c 64 65 72 2c 66 61 6c | cd 1,ho|lder,fal|
|00002940| 73 65 2c 66 69 72 73 74 | 29 0d 70 75 74 20 69 74 |se,first|).put it|
|00002950| 65 6d 20 31 20 6f 66 20 | 69 74 20 69 6e 74 6f 20 |em 1 of |it into |
|00002960| 6c 69 6e 65 6e 75 6d 0d | 64 65 6c 65 74 65 20 6c |linenum.|delete l|
|00002970| 69 6e 65 20 6c 69 6e 65 | 6e 75 6d 20 6f 66 20 63 |ine line|num of c|
|00002980| 64 20 66 6c 64 20 22 73 | 65 71 69 6e 64 65 78 22 |d fld "s|eqindex"|
|00002990| 20 6f 66 20 63 64 20 31 | 0d 64 6f 6d 65 6e 75 20 | of cd 1|.domenu |
|000029a0| 22 43 75 74 20 63 61 72 | 64 22 0d 65 6e 64 20 64 |"Cut car|d".end d|
|000029b0| 65 6c 74 61 63 64 0d 0d | 6f 6e 20 63 68 61 6e 67 |eltacd..|on chang|
|000029c0| 65 6e 61 6d 65 20 6e 65 | 77 6e 61 6d 65 0d 67 6c |ename ne|wname.gl|
|000029d0| 6f 62 61 6c 20 6f 6c 64 | 6e 61 6d 65 0d 67 65 74 |obal old|name.get|
|000029e0| 20 73 65 61 72 63 68 28 | 63 64 20 66 6c 64 20 22 | search(|cd fld "|
|000029f0| 73 65 71 69 6e 64 65 78 | 22 20 6f 66 20 63 64 20 |seqindex|" of cd |
|00002a00| 31 2c 6f 6c 64 6e 61 6d | 65 2c 74 72 75 65 29 0d |1,oldnam|e,true).|
|00002a10| 70 75 74 20 6e 65 77 6e | 61 6d 65 20 69 6e 74 6f |put newn|ame into|
|00002a20| 20 6c 69 6e 65 20 69 74 | 65 6d 20 31 20 6f 66 20 | line it|em 1 of |
|00002a30| 69 74 20 6f 66 20 63 64 | 20 66 6c 64 20 22 73 65 |it of cd| fld "se|
|00002a40| 71 69 6e 64 65 78 22 20 | 6f 66 20 63 64 20 31 0d |qindex" |of cd 1.|
|00002a50| 70 75 74 20 73 6f 72 74 | 66 69 65 6c 64 28 63 64 |put sort|field(cd|
|00002a60| 20 66 6c 64 20 22 73 65 | 71 69 6e 64 65 78 22 20 | fld "se|qindex" |
|00002a70| 6f 66 20 63 64 20 31 29 | 20 69 6e 74 6f 20 63 64 |of cd 1)| into cd|
|00002a80| 20 66 6c 64 20 22 73 65 | 71 69 6e 64 65 78 22 20 | fld "se|qindex" |
|00002a90| 6f 66 20 63 64 20 31 0d | 73 65 74 20 74 68 65 20 |of cd 1.|set the |
|00002aa0| 6e 61 6d 65 20 6f 66 20 | 74 68 69 73 20 63 64 20 |name of |this cd |
|00002ab0| 74 6f 20 6e 65 77 6e 61 | 6d 65 0d 70 75 74 20 6e |to newna|me.put n|
|00002ac0| 65 77 6e 61 6d 65 20 69 | 6e 74 6f 20 6f 6c 64 6e |ewname i|nto oldn|
|00002ad0| 61 6d 65 0d 65 6e 64 20 | 63 68 61 6e 67 65 6e 61 |ame.end |changena|
|00002ae0| 6d 65 0d 0d 6f 6e 20 66 | 6f 72 6d 61 74 0d 67 6c |me..on f|ormat.gl|
|00002af0| 6f 62 61 6c 20 6f 6c 64 | 73 65 71 0d 70 75 74 20 |obal old|seq.put |
|00002b00| 73 70 61 63 65 26 72 65 | 74 75 72 6e 26 22 31 32 |space&re|turn&"12|
|00002b10| 33 34 35 36 37 38 39 30 | 22 20 69 6e 74 6f 20 73 |34567890|" into s|
|00002b20| 74 72 69 70 63 68 61 72 | 73 0d 70 75 74 20 22 62 |tripchar|s.put "b|
|00002b30| 67 20 66 6c 64 20 69 64 | 20 36 30 22 20 69 6e 74 |g fld id| 60" int|
|00002b40| 6f 20 66 69 65 6c 64 69 | 64 0d 73 65 74 20 63 75 |o fieldi|d.set cu|
|00002b50| 72 73 6f 72 20 74 6f 20 | 34 0d 70 75 74 20 73 74 |rsor to |4.put st|
|00002b60| 72 69 70 28 73 74 72 69 | 70 63 68 61 72 73 2c 62 |rip(stri|pchars,b|
|00002b70| 67 20 66 6c 64 20 69 64 | 20 36 30 29 20 69 6e 74 |g fld id| 60) int|
|00002b80| 6f 20 73 65 71 0d 69 66 | 20 73 65 71 20 69 73 20 |o seq.if| seq is |
|00002b90| 65 6d 70 74 79 20 74 68 | 65 6e 20 65 78 69 74 20 |empty th|en exit |
|00002ba0| 74 6f 20 48 79 70 65 72 | 63 61 72 64 0d 61 6e 73 |to Hyper|card.ans|
|00002bb0| 77 65 72 20 22 46 6f 72 | 6d 61 74 3f 22 20 77 69 |wer "For|mat?" wi|
|00002bc0| 74 68 20 22 54 72 69 70 | 6c 65 74 73 22 20 6f 72 |th "Trip|lets" or|
|00002bd0| 20 22 54 65 6e 73 22 20 | 6f 72 20 22 4e 6f 20 67 | "Tens" |or "No g|
|00002be0| 61 70 73 22 0d 73 65 74 | 20 63 75 72 73 6f 72 20 |aps".set| cursor |
|00002bf0| 74 6f 20 34 0d 70 75 74 | 20 69 74 20 69 6e 74 6f |to 4.put| it into|
|00002c00| 20 66 6f 72 6d 61 74 0d | 49 66 20 69 74 20 69 73 | format.|If it is|
|00002c10| 20 22 4e 6f 20 67 61 70 | 73 22 20 74 68 65 6e 0d | "No gap|s" then.|
|00002c20| 70 75 74 20 22 31 22 20 | 69 6e 74 6f 20 66 6f 72 |put "1" |into for|
|00002c30| 6d 61 74 0d 70 75 74 20 | 31 20 69 6e 74 6f 20 73 |mat.put |1 into s|
|00002c40| 70 61 63 65 73 0d 65 6c | 73 65 20 69 66 20 69 74 |paces.el|se if it|
|00002c50| 3d 22 54 72 69 70 6c 65 | 74 73 22 20 74 68 65 6e |="Triple|ts" then|
|00002c60| 0d 70 75 74 20 37 20 69 | 6e 74 6f 20 66 6f 72 6d |.put 7 i|nto form|
|00002c70| 61 74 0d 70 75 74 20 33 | 20 69 6e 74 6f 20 73 70 |at.put 3| into sp|
|00002c80| 61 63 65 73 0d 65 6c 73 | 65 0d 70 75 74 20 31 31 |aces.els|e.put 11|
|00002c90| 20 69 6e 74 6f 20 66 6f | 72 6d 61 74 0d 70 75 74 | into fo|rmat.put|
|00002ca0| 20 31 30 20 69 6e 74 6f | 20 73 70 61 63 65 73 0d | 10 into| spaces.|
|00002cb0| 65 6e 64 20 69 66 0d 77 | 72 69 74 65 73 65 71 20 |end if.w|riteseq |
|00002cc0| 73 65 71 2c 20 66 6f 72 | 6d 61 74 20 2d 2d 20 72 |seq, for|mat -- r|
|00002cd0| 65 77 72 69 74 65 20 75 | 6e 66 6f 72 6d 61 74 74 |ewrite u|nformatt|
|00002ce0| 65 64 20 73 65 71 0d 70 | 75 74 20 74 68 65 20 72 |ed seq.p|ut the r|
|00002cf0| 65 73 75 6c 74 20 69 6e | 74 6f 20 73 65 71 0d 69 |esult in|to seq.i|
|00002d00| 66 20 66 6f 72 6d 61 74 | 3d 31 20 74 68 65 6e 0d |f format|=1 then.|
|00002d10| 64 65 6c 65 74 65 20 6c | 69 6e 65 20 31 20 74 6f |delete l|ine 1 to|
|00002d20| 20 32 20 6f 66 20 73 65 | 71 0d 70 75 74 20 73 74 | 2 of se|q.put st|
|00002d30| 72 69 70 28 73 74 72 69 | 70 63 68 61 72 73 2c 73 |rip(stri|pchars,s|
|00002d40| 65 71 29 20 69 6e 74 6f | 20 73 65 71 0d 65 6c 73 |eq) into| seq.els|
|00002d50| 65 20 69 66 20 66 6f 72 | 6d 61 74 3d 37 20 74 68 |e if for|mat=7 th|
|00002d60| 65 6e 0d 64 65 6c 65 74 | 65 20 6c 69 6e 65 20 31 |en.delet|e line 1|
|00002d70| 20 6f 66 20 73 65 71 0d | 64 65 6c 65 74 65 20 63 | of seq.|delete c|
|00002d80| 68 61 72 20 31 20 6f 66 | 20 73 65 71 0d 65 6e 64 |har 1 of| seq.end|
|00002d90| 20 69 66 0d 70 75 74 20 | 72 65 70 6c 61 63 65 28 | if.put |replace(|
|00002da0| 72 65 74 75 72 6e 2c 22 | 20 22 2c 73 65 71 29 20 |return,"| ",seq) |
|00002db0| 69 6e 74 6f 20 73 65 71 | 0d 70 75 74 20 72 65 70 |into seq|.put rep|
|00002dc0| 6c 61 63 65 28 22 20 20 | 22 2c 22 20 22 2c 73 65 |lace(" |"," ",se|
|00002dd0| 71 29 20 69 6e 74 6f 20 | 73 65 71 0d 61 6e 73 77 |q) into |seq.answ|
|00002de0| 65 72 20 22 44 6f 20 79 | 6f 75 20 77 61 6e 74 20 |er "Do y|ou want |
|00002df0| 74 6f 20 65 6e 64 20 65 | 61 63 68 20 6c 69 6e 65 |to end e|ach line|
|00002e00| 20 77 69 74 68 20 61 20 | 63 61 72 72 69 61 67 65 | with a |carriage|
|00002e10| 20 72 65 74 75 72 6e 3f | 22 20 77 69 74 68 20 22 | return?|" with "|
|00002e20| 59 65 73 22 20 6f 72 20 | 22 4e 6f 22 20 6f 72 20 |Yes" or |"No" or |
|00002e30| 22 43 61 6e 63 65 6c 22 | 0d 69 66 20 69 74 20 69 |"Cancel"|.if it i|
|00002e40| 73 20 22 43 61 6e 63 65 | 6c 22 20 74 68 65 6e 20 |s "Cance|l" then |
|00002e50| 65 78 69 74 20 74 6f 20 | 48 79 70 65 72 63 61 72 |exit to |Hypercar|
|00002e60| 64 0d 65 6c 73 65 20 69 | 66 20 69 74 20 69 73 20 |d.else i|f it is |
|00002e70| 22 59 65 73 22 20 74 68 | 65 6e 0d 70 75 74 20 35 |"Yes" th|en.put 5|
|00002e80| 30 20 69 6e 74 6f 20 6c | 61 79 6f 75 74 0d 69 66 |0 into l|ayout.if|
|00002e90| 20 73 70 61 63 65 73 3d | 33 20 61 6e 64 20 6c 61 | spaces=|3 and la|
|00002ea0| 79 6f 75 74 3e 34 35 20 | 74 68 65 6e 20 70 75 74 |yout>45 |then put|
|00002eb0| 20 34 35 20 69 6e 74 6f | 20 6c 61 79 6f 75 74 0d | 45 into| layout.|
|00002ec0| 72 65 70 65 61 74 20 75 | 6e 74 69 6c 20 69 74 20 |repeat u|ntil it |
|00002ed0| 3c 35 31 0d 70 6c 61 79 | 20 68 61 72 70 73 69 63 |<51.play| harpsic|
|00002ee0| 68 6f 72 64 0d 61 73 6b | 20 22 4c 69 6e 65 6c 65 |hord.ask| "Linele|
|00002ef0| 6e 67 74 68 3f 20 28 31 | 2d 35 30 29 20 22 20 77 |ngth? (1|-50) " w|
|00002f00| 69 74 68 20 6c 61 79 6f | 75 74 0d 69 66 20 69 74 |ith layo|ut.if it|
|00002f10| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 20 65 | is empt|y then e|
|00002f20| 78 69 74 20 74 6f 20 48 | 79 70 65 72 63 61 72 64 |xit to H|ypercard|
|00002f30| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 70 75 74 20 |.end rep|eat.put |
|00002f40| 69 74 20 69 6e 74 6f 20 | 6c 69 6e 65 6c 65 6e 67 |it into |lineleng|
|00002f50| 74 68 0d 69 66 20 6c 69 | 6e 65 6c 65 6e 67 74 68 |th.if li|nelength|
|00002f60| 2f 73 70 61 63 65 73 3c | 3e 72 6f 75 6e 64 28 6c |/spaces<|>round(l|
|00002f70| 69 6e 65 6c 65 6e 67 74 | 68 2f 73 70 61 63 65 73 |inelengt|h/spaces|
|00002f80| 29 20 74 68 65 6e 0d 70 | 6c 61 79 20 68 61 72 70 |) then.p|lay harp|
|00002f90| 73 69 63 68 6f 72 64 0d | 61 6e 73 77 65 72 20 72 |sichord.|answer r|
|00002fa0| 6f 75 6e 64 28 6c 69 6e | 65 6c 65 6e 67 74 68 2f |ound(lin|elength/|
|00002fb0| 28 73 70 61 63 65 73 29 | 29 2a 28 73 70 61 63 65 |(spaces)|)*(space|
|00002fc0| 73 29 26 c2 0d 22 20 63 | 68 61 72 61 63 74 65 72 |s)&.." c|haracter|
|00002fd0| 73 2f 6c 69 6e 65 20 77 | 6f 75 6c 64 20 62 65 20 |s/line w|ould be |
|00002fe0| 62 65 74 74 65 72 21 21 | 22 20 77 69 74 68 20 22 |better!!|" with "|
|00002ff0| 4f 4b 22 20 6f 72 20 22 | 4e 6f 22 20 6f 72 20 22 |OK" or "|No" or "|
|00003000| 63 61 6e 63 65 6c 22 0d | 69 66 20 69 74 20 69 73 |cancel".|if it is|
|00003010| 20 22 63 61 6e 63 65 6c | 22 20 74 68 65 6e 20 65 | "cancel|" then e|
|00003020| 78 69 74 20 74 6f 20 48 | 79 70 65 72 63 61 72 64 |xit to H|ypercard|
|00003030| 0d 69 66 20 69 74 20 69 | 73 20 22 4f 4b 22 20 74 |.if it i|s "OK" t|
|00003040| 68 65 6e 20 70 75 74 20 | 72 6f 75 6e 64 28 6c 69 |hen put |round(li|
|00003050| 6e 65 6c 65 6e 67 74 68 | 2f 73 70 61 63 65 73 29 |nelength|/spaces)|
|00003060| 2a 73 70 61 63 65 73 20 | 69 6e 74 6f 20 6c 69 6e |*spaces |into lin|
|00003070| 65 6c 65 6e 67 74 68 0d | 65 6e 64 20 69 66 0d 69 |elength.|end if.i|
|00003080| 66 20 66 6f 72 6d 61 74 | 3c 3e 31 20 74 68 65 6e |f format|<>1 then|
|00003090| 20 61 64 64 20 74 72 75 | 6e 63 28 6c 69 6e 65 6c | add tru|nc(linel|
|000030a0| 65 6e 67 74 68 2f 73 70 | 61 63 65 73 29 20 74 6f |ength/sp|aces) to|
|000030b0| 20 6c 69 6e 65 6c 65 6e | 67 74 68 0d 72 65 70 65 | linelen|gth.repe|
|000030c0| 61 74 20 75 6e 74 69 6c | 20 73 65 71 20 69 73 20 |at until| seq is |
|000030d0| 65 6d 70 74 79 0d 70 75 | 74 20 63 68 61 72 20 31 |empty.pu|t char 1|
|000030e0| 20 74 6f 20 6c 69 6e 65 | 6c 65 6e 67 74 68 20 6f | to line|length o|
|000030f0| 66 20 73 65 71 26 72 65 | 74 75 72 6e 20 61 66 74 |f seq&re|turn aft|
|00003100| 65 72 20 73 65 71 32 0d | 64 65 6c 65 74 65 20 63 |er seq2.|delete c|
|00003110| 68 61 72 20 31 20 74 6f | 20 6c 69 6e 65 6c 65 6e |har 1 to| linelen|
|00003120| 67 74 68 20 6f 66 20 73 | 65 71 0d 65 6e 64 20 72 |gth of s|eq.end r|
|00003130| 65 70 65 61 74 0d 70 75 | 74 20 73 65 71 32 20 69 |epeat.pu|t seq2 i|
|00003140| 6e 74 6f 20 73 65 71 0d | 65 6e 64 20 69 66 0d 70 |nto seq.|end if.p|
|00003150| 75 74 20 65 6d 70 74 79 | 20 69 6e 74 6f 20 62 67 |ut empty| into bg|
|00003160| 20 66 6c 64 20 22 6e 75 | 6d 62 65 72 73 22 0d 70 | fld "nu|mbers".p|
|00003170| 75 74 20 73 65 71 20 69 | 6e 74 6f 20 62 67 20 66 |ut seq i|nto bg f|
|00003180| 6c 64 20 69 64 20 36 30 | 0d 70 75 74 20 73 74 72 |ld id 60|.put str|
|00003190| 69 70 28 72 65 74 75 72 | 6e 26 73 70 61 63 65 2c |ip(retur|n&space,|
|000031a0| 73 65 71 29 20 69 6e 74 | 6f 20 6f 6c 64 73 65 71 |seq) int|o oldseq|
|000031b0| 0d 69 66 20 74 68 65 20 | 68 69 6c 69 74 65 20 6f |.if the |hilite o|
|000031c0| 66 20 62 67 20 62 74 6e | 20 22 6e 75 6d 62 65 72 |f bg btn| "number|
|000031d0| 69 6e 67 22 20 69 73 20 | 74 72 75 65 20 74 68 65 |ing" is |true the|
|000031e0| 6e 20 64 6f 6c 69 6e 65 | 73 0d 65 6e 64 20 66 6f |n doline|s.end fo|
|000031f0| 72 6d 61 74 0d 0d 6f 6e | 20 64 6f 6c 69 6e 65 73 |rmat..on| dolines|
|00003200| 0d 70 75 74 20 72 65 74 | 75 72 6e 26 73 70 61 63 |.put ret|urn&spac|
|00003210| 65 20 69 6e 74 6f 20 73 | 74 72 69 70 63 68 61 72 |e into s|tripchar|
|00003220| 73 0d 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |s.set cu|rsor to |
|00003230| 62 75 73 79 0d 69 66 20 | 73 74 72 69 70 28 73 74 |busy.if |strip(st|
|00003240| 72 69 70 63 68 61 72 73 | 2c 62 67 20 66 6c 64 20 |ripchars|,bg fld |
|00003250| 69 64 20 36 30 29 20 69 | 73 20 6e 6f 74 20 65 6d |id 60) i|s not em|
|00003260| 70 74 79 20 74 68 65 6e | 0d 72 65 70 65 61 74 20 |pty then|.repeat |
|00003270| 75 6e 74 69 6c 20 6c 61 | 73 74 20 6c 69 6e 65 20 |until la|st line |
|00003280| 6f 66 20 62 67 20 66 6c | 64 20 69 64 20 36 30 20 |of bg fl|d id 60 |
|00003290| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 0d 64 65 6c |is not e|mpty.del|
|000032a0| 65 74 65 20 6c 61 73 74 | 20 6c 69 6e 65 20 6f 66 |ete last| line of|
|000032b0| 20 62 67 20 66 6c 64 20 | 69 64 20 36 30 0d 65 6e | bg fld |id 60.en|
|000032c0| 64 20 72 65 70 65 61 74 | 0d 65 6e 64 20 69 66 0d |d repeat|.end if.|
|000032d0| 70 75 74 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |put numb|er of li|
|000032e0| 6e 65 73 20 69 6e 20 62 | 67 20 66 6c 64 20 22 73 |nes in b|g fld "s|
|000032f0| 65 71 75 65 6e 63 65 22 | 20 69 6e 74 6f 20 6e 6c |equence"| into nl|
|00003300| 69 6e 65 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |ine.put |empty in|
|00003310| 74 6f 20 6c 69 73 74 0d | 69 66 20 6e 6c 69 6e 65 |to list.|if nline|
|00003320| 3d 31 20 74 68 65 6e 0d | 70 75 74 20 74 68 65 20 |=1 then.|put the |
|00003330| 6c 65 6e 67 74 68 20 6f | 66 20 65 78 74 72 61 63 |length o|f extrac|
|00003340| 74 28 73 70 61 63 65 2c | 63 68 61 72 20 31 20 74 |t(space,|char 1 t|
|00003350| 6f 20 31 31 20 6f 66 20 | 62 67 20 66 6c 64 20 69 |o 11 of |bg fld i|
|00003360| 64 20 36 30 29 20 69 6e | 74 6f 20 6e 75 6d 0d 69 |d 60) in|to num.i|
|00003370| 66 20 6e 75 6d 3d 30 20 | 74 68 65 6e 20 70 75 74 |f num=0 |then put|
|00003380| 20 36 32 20 69 6e 74 6f | 20 6c 69 6e 65 6c 65 6e | 62 into| linelen|
|00003390| 67 74 68 0d 65 6c 73 65 | 20 69 66 20 6e 75 6d 3d |gth.else| if num=|
|000033a0| 31 20 74 68 65 6e 20 70 | 75 74 20 35 30 20 69 6e |1 then p|ut 50 in|
|000033b0| 74 6f 20 6c 69 6e 65 6c | 65 6e 67 74 68 0d 65 6c |to linel|ength.el|
|000033c0| 73 65 20 70 75 74 20 34 | 35 20 69 6e 74 6f 20 6c |se put 4|5 into l|
|000033d0| 69 6e 65 6c 65 6e 67 74 | 68 0d 72 65 70 65 61 74 |inelengt|h.repeat|
|000033e0| 20 77 69 74 68 20 78 3d | 31 20 74 6f 20 74 72 75 | with x=|1 to tru|
|000033f0| 6e 63 28 74 68 65 20 6c | 65 6e 67 74 68 20 6f 66 |nc(the l|ength of|
|00003400| 20 73 74 72 69 70 28 73 | 70 61 63 65 26 72 65 74 | strip(s|pace&ret|
|00003410| 75 72 6e 2c 62 67 20 66 | 6c 64 20 69 64 20 36 30 |urn,bg f|ld id 60|
|00003420| 29 2f 6c 69 6e 65 6c 65 | 6e 67 74 68 29 2b 31 0d |)/linele|ngth)+1.|
|00003430| 70 75 74 20 31 2b 28 78 | 2d 31 29 2a 6c 69 6e 65 |put 1+(x|-1)*line|
|00003440| 6c 65 6e 67 74 68 26 72 | 65 74 75 72 6e 20 61 66 |length&r|eturn af|
|00003450| 74 65 72 20 6c 69 73 74 | 0d 65 6e 64 20 72 65 70 |ter list|.end rep|
|00003460| 65 61 74 0d 65 6c 73 65 | 0d 70 75 74 20 74 68 65 |eat.else|.put the|
|00003470| 20 6c 65 6e 67 74 68 20 | 6f 66 20 73 74 72 69 70 | length |of strip|
|00003480| 20 28 73 70 61 63 65 2c | 6c 69 6e 65 20 31 20 6f | (space,|line 1 o|
|00003490| 66 20 62 67 20 66 6c 64 | 20 69 64 20 36 30 29 20 |f bg fld| id 60) |
|000034a0| 69 6e 74 6f 20 66 61 63 | 74 6f 72 0d 70 75 74 20 |into fac|tor.put |
|000034b0| 31 20 69 6e 74 6f 20 61 | 74 63 68 61 72 0d 72 65 |1 into a|tchar.re|
|000034c0| 70 65 61 74 20 77 69 74 | 68 20 69 20 3d 20 31 20 |peat wit|h i = 1 |
|000034d0| 74 6f 20 6e 6c 69 6e 65 | 0d 70 75 74 20 61 74 63 |to nline|.put atc|
|000034e0| 68 61 72 20 26 20 72 65 | 74 75 72 6e 20 61 66 74 |har & re|turn aft|
|000034f0| 65 72 20 6c 69 73 74 0d | 61 64 64 20 66 61 63 74 |er list.|add fact|
|00003500| 6f 72 20 74 6f 20 61 74 | 63 68 61 72 0d 65 6e 64 |or to at|char.end|
|00003510| 20 72 65 70 65 61 74 0d | 65 6e 64 20 69 66 0d 70 | repeat.|end if.p|
|00003520| 75 74 20 6c 69 73 74 20 | 69 6e 74 6f 20 62 67 20 |ut list |into bg |
|00003530| 66 6c 64 20 22 6e 75 6d | 62 65 72 73 22 0d 73 65 |fld "num|bers".se|
|00003540| 74 6c 69 6e 65 73 0d 65 | 6e 64 20 64 6f 6c 69 6e |tlines.e|nd dolin|
|00003550| 65 73 0d 0d 6f 6e 20 75 | 70 64 61 74 65 0d 70 75 |es..on u|pdate.pu|
|00003560| 74 20 74 68 65 20 61 62 | 62 72 65 76 20 64 61 74 |t the ab|brev dat|
|00003570| 65 20 69 6e 74 6f 20 62 | 67 20 66 6c 64 20 22 64 |e into b|g fld "d|
|00003580| 61 74 65 22 0d 70 75 74 | 20 74 68 65 20 74 69 6d |ate".put| the tim|
|00003590| 65 20 69 6e 74 6f 20 62 | 67 20 66 6c 64 20 22 74 |e into b|g fld "t|
|000035a0| 69 6d 65 22 0d 65 6e 64 | 20 75 70 64 61 74 65 0d |ime".end| update.|
|000035b0| 0d 6f 6e 20 73 65 74 6c | 69 6e 65 73 0d 67 65 74 |.on setl|ines.get|
|000035c0| 20 73 63 72 6f 6c 6c 20 | 6f 66 20 62 67 20 66 6c | scroll |of bg fl|
|000035d0| 64 20 22 73 65 71 75 65 | 6e 63 65 22 0d 73 65 74 |d "seque|nce".set|
|000035e0| 20 73 63 72 6f 6c 6c 20 | 6f 66 20 62 67 20 66 6c | scroll |of bg fl|
|000035f0| 64 20 22 6e 75 6d 62 65 | 72 73 22 20 74 6f 20 69 |d "numbe|rs" to i|
|00003600| 74 0d 65 6e 64 20 73 65 | 74 6c 69 6e 65 73 0d 0d |t.end se|tlines..|
|00003610| 66 75 6e 63 74 69 6f 6e | 20 63 61 72 64 53 65 71 |function| cardSeq|
|00003620| 20 6e 66 6f 72 6d 0d 67 | 6c 6f 62 61 6c 20 74 68 | nform.g|lobal th|
|00003630| 65 46 6f 72 6d 61 74 0d | 70 75 74 20 62 67 20 66 |eFormat.|put bg f|
|00003640| 6c 64 20 22 73 65 71 75 | 65 6e 63 65 22 20 69 6e |ld "sequ|ence" in|
|00003650| 74 6f 20 73 65 71 0d 70 | 75 74 20 62 67 20 66 69 |to seq.p|ut bg fi|
|00003660| 65 6c 64 20 22 73 65 71 | 6e 61 6d 65 22 20 26 72 |eld "seq|name" &r|
|00003670| 65 74 75 72 6e 26 20 72 | 65 74 75 72 6e 26 62 67 |eturn& r|eturn&bg|
|00003680| 20 66 6c 64 20 22 6e 6f | 74 65 73 22 26 72 65 74 | fld "no|tes"&ret|
|00003690| 75 72 6e 20 69 6e 74 6f | 20 64 6f 63 0d 77 72 69 |urn into| doc.wri|
|000036a0| 74 65 73 65 71 20 73 65 | 71 2c 20 74 68 65 46 6f |teseq se|q, theFo|
|000036b0| 72 6d 61 74 2c 20 64 6f | 63 0d 70 75 74 20 74 68 |rmat, do|c.put th|
|000036c0| 65 20 72 65 73 75 6c 74 | 20 69 6e 74 6f 20 73 65 |e result| into se|
|000036d0| 71 0d 72 65 74 75 72 6e | 20 73 65 71 0d 65 6e 64 |q.return| seq.end|
|000036e0| 20 63 61 72 64 53 65 71 | 0d 0d 6f 6e 20 63 68 6f | cardSeq|..on cho|
|000036f0| 6f 73 65 66 6f 72 6d 61 | 74 0d 67 6c 6f 62 61 6c |oseforma|t.global|
|00003700| 20 74 68 65 46 6f 72 6d | 61 74 0d 70 75 74 20 22 | theForm|at.put "|
|00003710| 49 6e 74 65 6c 6c 69 47 | 65 6e 65 74 69 63 73 22 |IntelliG|enetics"|
|00003720| 26 72 65 74 75 72 6e 26 | 22 47 65 6e 42 61 6e 6b |&return&|"GenBank|
|00003730| 22 26 72 65 74 75 72 6e | 26 22 4e 42 52 46 22 26 |"&return|&"NBRF"&|
|00003740| 72 65 74 75 72 6e 26 22 | 45 4d 42 4c 22 26 72 65 |return&"|EMBL"&re|
|00003750| 74 75 72 6e c2 0d 26 22 | 47 43 47 22 26 72 65 74 |turn..&"|GCG"&ret|
|00003760| 75 72 6e 26 22 44 4e 41 | 20 53 74 72 69 64 65 72 |urn&"DNA| Strider|
|00003770| 22 26 52 65 74 75 72 6e | 26 22 46 69 74 63 68 22 |"&Return|&"Fitch"|
|00003780| 26 72 65 74 75 72 6e 26 | 22 50 65 61 72 73 6f 6e |&return&|"Pearson|
|00003790| 22 26 72 65 74 75 72 6e | 26 c2 0d 22 5a 75 6b 65 |"&return|&.."Zuke|
|000037a0| 72 22 26 72 65 74 75 72 | 6e 26 22 4f 6c 73 65 6e |r"&retur|n&"Olsen|
|000037b0| 22 26 72 65 74 75 72 6e | 26 22 41 53 43 49 49 22 |"&return|&"ASCII"|
|000037c0| 26 72 65 74 75 72 6e 26 | 22 52 54 46 22 20 69 6e |&return&|"RTF" in|
|000037d0| 74 6f 20 66 6f 72 6d 61 | 74 74 79 70 65 0d 67 65 |to forma|ttype.ge|
|000037e0| 74 20 73 68 6f 77 6c 69 | 73 74 28 46 6f 72 6d 61 |t showli|st(Forma|
|000037f0| 74 74 79 70 65 2c 31 33 | 2c 22 57 68 61 74 20 66 |ttype,13|,"What f|
|00003800| 6f 72 6d 61 74 20 64 6f | 20 79 6f 75 20 77 61 6e |ormat do| you wan|
|00003810| 74 20 74 6f 20 75 73 65 | 3f 22 2c 66 61 6c 73 65 |t to use|?",false|
|00003820| 2c 22 43 61 6e 63 65 6c | 2c 4f 4b 22 29 0d 69 66 |,"Cancel|,OK").if|
|00003830| 20 69 74 20 63 6f 6e 74 | 61 69 6e 73 20 22 43 61 | it cont|ains "Ca|
|00003840| 6e 63 65 6c 22 20 74 68 | 65 6e 20 65 78 69 74 20 |ncel" th|en exit |
|00003850| 74 6f 20 48 79 70 65 72 | 63 61 72 64 0d 70 75 74 |to Hyper|card.put|
|00003860| 20 69 74 65 6d 20 32 20 | 6f 66 20 6c 69 6e 65 20 | item 2 |of line |
|00003870| 32 20 6f 66 20 69 74 20 | 69 6e 74 6f 20 74 68 65 |2 of it |into the|
|00003880| 46 6f 72 6d 61 74 0d 65 | 6e 64 20 63 68 6f 6f 73 |Format.e|nd choos|
|00003890| 65 66 6f 72 6d 61 74 0d | 0d 6f 6e 20 69 6d 70 6f |eformat.|.on impo|
|000038a0| 72 74 73 65 71 0d 6c 6f | 63 6b 20 73 63 72 65 65 |rtseq.lo|ck scree|
|000038b0| 6e 0d 70 75 74 20 66 69 | 65 6c 64 20 22 73 65 71 |n.put fi|eld "seq|
|000038c0| 6e 61 6d 65 22 20 69 6e | 74 6f 20 73 74 69 74 6c |name" in|to stitl|
|000038d0| 65 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |e.put em|pty into|
|000038e0| 20 66 69 65 6c 64 20 22 | 73 65 71 6e 61 6d 65 22 | field "|seqname"|
|000038f0| 0d 70 75 74 20 74 72 75 | 65 20 69 6e 74 6f 20 66 |.put tru|e into f|
|00003900| 61 69 6c 65 64 0d 72 65 | 70 65 61 74 20 66 6f 72 |ailed.re|peat for|
|00003910| 20 31 0d 70 75 74 20 31 | 20 69 6e 74 6f 20 69 73 | 1.put 1| into is|
|00003920| 65 71 0d 72 65 61 64 73 | 65 71 20 30 2c 20 66 61 |eq.reads|eq 0, fa|
|00003930| 6c 73 65 2c 20 22 73 65 | 71 6e 61 6d 65 22 0d 69 |lse, "se|qname".i|
|00003940| 66 20 74 68 65 20 72 65 | 73 75 6c 74 20 69 73 20 |f the re|sult is |
|00003950| 65 6d 70 74 79 20 74 68 | 65 6e 20 65 78 69 74 20 |empty th|en exit |
|00003960| 72 65 70 65 61 74 0d 70 | 75 74 20 74 68 65 20 72 |repeat.p|ut the r|
|00003970| 65 73 75 6c 74 20 69 6e | 74 6f 20 61 6c 69 73 74 |esult in|to alist|
|00003980| 0d 69 66 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |.if numb|er of li|
|00003990| 6e 65 73 20 69 6e 20 61 | 6c 69 73 74 20 3d 20 31 |nes in a|list = 1|
|000039a0| 20 74 68 65 6e 0d 70 75 | 74 20 31 20 69 6e 74 6f | then.pu|t 1 into|
|000039b0| 20 69 73 65 71 0d 65 6c | 73 65 0d 70 75 74 20 73 | iseq.el|se.put s|
|000039c0| 68 6f 77 6c 69 73 74 28 | 61 6c 69 73 74 2c 31 33 |howlist(|alist,13|
|000039d0| 2c 22 43 68 6f 6f 73 65 | 20 61 20 73 65 71 75 65 |,"Choose| a seque|
|000039e0| 6e 63 65 3a 22 2c 66 61 | 6c 73 65 2c 22 22 29 20 |nce:",fa|lse,"") |
|000039f0| 69 6e 74 6f 20 69 73 65 | 71 0d 69 66 20 69 73 65 |into ise|q.if ise|
|00003a00| 71 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 20 |q is emp|ty then |
|00003a10| 65 78 69 74 20 72 65 70 | 65 61 74 0d 67 65 74 20 |exit rep|eat.get |
|00003a20| 6f 66 66 73 65 74 28 20 | 22 2c 22 2c 20 69 73 65 |offset( |",", ise|
|00003a30| 71 29 0d 69 66 20 69 74 | 20 69 73 20 6e 6f 74 20 |q).if it| is not |
|00003a40| 7a 65 72 6f 20 74 68 65 | 6e 20 70 75 74 20 63 68 |zero the|n put ch|
|00003a50| 61 72 20 31 20 74 6f 20 | 69 74 2d 31 20 6f 66 20 |ar 1 to |it-1 of |
|00003a60| 69 73 65 71 20 69 6e 74 | 6f 20 69 73 65 71 0d 65 |iseq int|o iseq.e|
|00003a70| 6e 64 20 69 66 0d 64 6f | 6d 65 6e 75 20 22 4e 65 |nd if.do|menu "Ne|
|00003a80| 77 20 63 61 72 64 22 0d | 72 65 61 64 73 65 71 20 |w card".|readseq |
|00003a90| 69 73 65 71 2c 20 66 61 | 6c 73 65 2c 20 22 73 65 |iseq, fa|lse, "se|
|00003aa0| 71 6e 61 6d 65 22 2c 20 | 66 61 6c 73 65 2c 20 22 |qname", |false, "|
|00003ab0| 6e 6f 74 65 73 22 0d 69 | 66 20 74 68 65 20 72 65 |notes".i|f the re|
|00003ac0| 73 75 6c 74 20 69 73 20 | 65 6d 70 74 79 20 74 68 |sult is |empty th|
|00003ad0| 65 6e 20 65 78 69 74 20 | 72 65 70 65 61 74 0d 70 |en exit |repeat.p|
|00003ae0| 75 74 20 74 68 65 20 72 | 65 73 75 6c 74 20 69 6e |ut the r|esult in|
|00003af0| 74 6f 20 66 69 65 6c 64 | 20 22 73 65 71 75 65 6e |to field| "sequen|
|00003b00| 63 65 22 0d 73 65 6c 65 | 63 74 20 62 65 66 6f 72 |ce".sele|ct befor|
|00003b10| 65 20 74 65 78 74 20 6f | 66 20 66 69 65 6c 64 20 |e text o|f field |
|00003b20| 22 73 65 71 75 65 6e 63 | 65 22 0d 73 65 6c 65 63 |"sequenc|e".selec|
|00003b30| 74 20 62 65 66 6f 72 65 | 20 74 65 78 74 20 6f 66 |t before| text of|
|00003b40| 20 66 69 65 6c 64 20 22 | 6e 6f 74 65 73 22 0d 64 | field "|notes".d|
|00003b50| 6f 6c 69 6e 65 73 0d 70 | 75 74 20 66 61 6c 73 65 |olines.p|ut false|
|00003b60| 20 69 6e 74 6f 20 66 61 | 69 6c 65 64 0d 65 78 69 | into fa|iled.exi|
|00003b70| 74 20 72 65 70 65 61 74 | 0d 65 6e 64 20 72 65 70 |t repeat|.end rep|
|00003b80| 65 61 74 0d 69 66 20 66 | 61 69 6c 65 64 20 69 73 |eat.if f|ailed is|
|00003b90| 20 74 72 75 65 20 74 68 | 65 6e 20 70 75 74 20 73 | true th|en put s|
|00003ba0| 74 69 74 6c 65 20 69 6e | 74 6f 20 66 6c 64 20 22 |title in|to fld "|
|00003bb0| 73 65 71 6e 61 6d 65 22 | 0d 75 6e 6c 6f 63 6b 20 |seqname"|.unlock |
|00003bc0| 73 63 72 65 65 6e 0d 65 | 6e 64 20 69 6d 70 6f 72 |screen.e|nd impor|
|00003bd0| 74 73 65 71 0d 0d 6f 6e | 20 65 78 70 6f 72 74 0d |tseq..on| export.|
|00003be0| 67 6c 6f 62 61 6c 20 74 | 68 65 66 6f 72 6d 61 74 |global t|heformat|
|00003bf0| 0d 69 66 20 74 68 65 20 | 76 69 73 69 62 6c 65 20 |.if the |visible |
|00003c00| 6f 66 20 62 67 20 66 6c | 64 20 69 64 20 39 37 20 |of bg fl|d id 97 |
|00003c10| 69 73 20 66 61 6c 73 65 | 20 61 6e 64 20 74 68 65 |is false| and the|
|00003c20| 20 76 69 73 69 62 6c 65 | 20 6f 66 20 62 67 20 66 | visible| of bg f|
|00003c30| 6c 64 20 22 74 72 61 6e | 73 6c 61 74 69 6f 6e 22 |ld "tran|slation"|
|00003c40| 20 69 73 20 66 61 6c 73 | 65 20 74 68 65 6e 0d 63 | is fals|e then.c|
|00003c50| 68 6f 6f 73 65 66 6f 72 | 6d 61 74 0d 69 66 20 74 |hoosefor|mat.if t|
|00003c60| 68 65 66 6f 72 6d 61 74 | 3c 36 20 74 68 65 6e 0d |heformat|<6 then.|
|00003c70| 70 75 74 20 63 61 72 64 | 53 65 71 28 65 6d 70 74 |put card|Seq(empt|
|00003c80| 79 29 20 69 6e 74 6f 20 | 73 65 71 0d 65 6c 73 65 |y) into |seq.else|
|00003c90| 20 69 66 20 74 68 65 66 | 6f 72 6d 61 74 3d 31 32 | if thef|ormat=12|
|00003ca0| 20 74 68 65 6e 0d 70 75 | 74 20 62 67 20 66 6c 64 | then.pu|t bg fld|
|00003cb0| 20 22 73 65 71 6e 61 6d | 65 22 26 22 2e 52 54 46 | "seqnam|e"&".RTF|
|00003cc0| 22 20 69 6e 74 6f 20 73 | 65 71 6e 61 6d 65 0d 70 |" into s|eqname.p|
|00003cd0| 75 74 20 66 69 65 6c 64 | 74 6f 52 54 46 28 66 61 |ut field|toRTF(fa|
|00003ce0| 6c 73 65 2c 22 73 65 71 | 75 65 6e 63 65 22 29 20 |lse,"seq|uence") |
|00003cf0| 69 6e 74 6f 20 73 65 71 | 0d 65 6c 73 65 20 70 75 |into seq|.else pu|
|00003d00| 74 20 62 67 20 66 6c 64 | 20 69 64 20 36 30 20 69 |t bg fld| id 60 i|
|00003d10| 6e 74 6f 20 73 65 71 0d | 69 66 20 73 65 71 6e 61 |nto seq.|if seqna|
|00003d20| 6d 65 20 63 6f 6e 74 61 | 69 6e 73 20 22 52 54 46 |me conta|ins "RTF|
|00003d30| 22 20 69 73 20 66 61 6c | 73 65 20 74 68 65 6e 20 |" is fal|se then |
|00003d40| 70 75 74 20 62 67 20 66 | 6c 64 20 22 73 65 71 6e |put bg f|ld "seqn|
|00003d50| 61 6d 65 22 20 69 6e 74 | 6f 20 73 65 71 6e 61 6d |ame" int|o seqnam|
|00003d60| 65 0d 69 66 20 6f 66 66 | 73 65 74 28 22 2e 22 2c |e.if off|set(".",|
|00003d70| 73 65 71 6e 61 6d 65 29 | 20 69 73 20 30 20 74 68 |seqname)| is 0 th|
|00003d80| 65 6e 20 70 75 74 20 22 | 2e 53 65 71 22 20 61 66 |en put "|.Seq" af|
|00003d90| 74 65 72 20 73 65 71 6e | 61 6d 65 0d 65 78 70 6f |ter seqn|ame.expo|
|00003da0| 72 74 73 65 71 20 73 65 | 71 2c 73 65 71 6e 61 6d |rtseq se|q,seqnam|
|00003db0| 65 0d 65 6c 73 65 20 69 | 66 20 74 68 65 20 76 69 |e.else i|f the vi|
|00003dc0| 73 69 62 6c 65 20 6f 66 | 20 62 67 20 66 6c 64 20 |sible of| bg fld |
|00003dd0| 69 64 20 39 37 20 69 73 | 20 66 61 6c 73 65 20 61 |id 97 is| false a|
|00003de0| 6e 64 20 74 68 65 20 76 | 69 73 69 62 6c 65 20 6f |nd the v|isible o|
|00003df0| 66 20 62 67 20 66 6c 64 | 20 22 74 72 61 6e 73 6c |f bg fld| "transl|
|00003e00| 61 74 69 6f 6e 22 20 69 | 73 20 74 72 75 65 20 74 |ation" i|s true t|
|00003e10| 68 65 6e 0d 70 75 74 20 | 62 67 20 66 6c 64 20 22 |hen.put |bg fld "|
|00003e20| 73 65 71 6e 61 6d 65 22 | 26 22 2e 70 65 70 22 20 |seqname"|&".pep" |
|00003e30| 69 6e 74 6f 20 73 65 71 | 6e 61 6d 65 0d 65 78 70 |into seq|name.exp|
|00003e40| 6f 72 74 73 65 71 20 62 | 67 20 66 6c 64 20 22 74 |ortseq b|g fld "t|
|00003e50| 72 61 6e 73 6c 61 74 69 | 6f 6e 22 2c 73 65 71 6e |ranslati|on",seqn|
|00003e60| 61 6d 65 0d 65 6c 73 65 | 0d 70 75 74 20 62 67 20 |ame.else|.put bg |
|00003e70| 66 6c 64 20 69 64 20 39 | 37 20 69 6e 74 6f 20 65 |fld id 9|7 into e|
|00003e80| 78 70 6f 72 74 74 65 78 | 74 0d 69 66 20 62 67 20 |xporttex|t.if bg |
|00003e90| 66 6c 64 20 22 74 72 61 | 6e 73 6c 61 74 69 6f 6e |fld "tra|nslation|
|00003ea0| 22 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 74 |" is not| empty t|
|00003eb0| 68 65 6e 0d 61 6e 73 77 | 65 72 20 22 44 6f 20 79 |hen.answ|er "Do y|
|00003ec0| 6f 75 20 77 61 6e 74 20 | 74 6f 20 69 6e 63 6c 75 |ou want |to inclu|
|00003ed0| 64 65 20 74 68 65 20 70 | 65 70 74 69 64 65 20 6f |de the p|eptide o|
|00003ee0| 72 20 74 68 65 20 44 4e | 41 20 73 65 71 75 65 6e |r the DN|A sequen|
|00003ef0| 63 65 20 6f 6e 20 74 68 | 65 20 47 65 6e 62 61 6e |ce on th|e Genban|
|00003f00| 6b 20 66 6f 72 6d 3f 22 | 20 77 69 74 68 20 22 50 |k form?"| with "P|
|00003f10| 65 70 74 69 64 65 22 20 | 6f 72 20 22 44 4e 41 22 |eptide" |or "DNA"|
|00003f20| 20 6f 72 20 22 43 61 6e | 63 65 6c 22 0d 69 66 20 | or "Can|cel".if |
|00003f30| 69 74 20 69 73 20 22 43 | 61 6e 63 65 6c 22 20 74 |it is "C|ancel" t|
|00003f40| 68 65 6e 20 65 78 69 74 | 20 74 6f 20 68 79 70 65 |hen exit| to hype|
|00003f50| 72 63 61 72 64 0d 65 6c | 73 65 20 69 66 20 69 74 |rcard.el|se if it|
|00003f60| 20 69 73 20 22 50 65 70 | 74 69 64 65 22 20 74 68 | is "Pep|tide" th|
|00003f70| 65 6e 20 70 75 74 20 62 | 67 20 66 6c 64 20 22 74 |en put b|g fld "t|
|00003f80| 72 61 6e 73 6c 61 74 69 | 6f 6e 22 20 69 6e 74 6f |ranslati|on" into|
|00003f90| 20 65 78 70 6f 72 74 73 | 65 71 0d 65 6c 73 65 20 | exports|eq.else |
|00003fa0| 70 75 74 20 62 67 20 66 | 6c 64 20 69 64 20 36 30 |put bg f|ld id 60|
|00003fb0| 20 69 6e 74 6f 20 65 78 | 70 6f 72 74 73 65 71 0d | into ex|portseq.|
|00003fc0| 65 6c 73 65 20 70 75 74 | 20 62 67 20 66 6c 64 20 |else put| bg fld |
|00003fd0| 69 64 20 36 30 20 69 6e | 74 6f 20 65 78 70 6f 72 |id 60 in|to expor|
|00003fe0| 74 73 65 71 0d 70 75 74 | 20 72 65 74 75 72 6e 20 |tseq.put| return |
|00003ff0| 26 22 56 2e 20 20 20 20 | 53 45 51 55 45 4e 43 45 |&"V. |SEQUENCE|
|00004000| 20 44 41 54 41 22 26 72 | 65 74 75 72 6e 26 c2 0d | DATA"&r|eturn&..|
|00004010| 22 50 6c 65 61 73 65 20 | 65 6e 74 65 72 20 74 68 |"Please |enter th|
|00004020| 65 20 6e 75 63 6c 65 6f | 74 69 64 65 20 73 65 71 |e nucleo|tide seq|
|00004030| 75 65 6e 63 65 20 64 61 | 74 61 20 68 65 72 65 3a |uence da|ta here:|
|00004040| 22 26 72 65 74 75 72 6e | 26 72 65 74 75 72 6e 26 |"&return|&return&|
|00004050| 65 78 70 6f 72 74 73 65 | 71 20 61 66 74 65 72 20 |exportse|q after |
|00004060| 65 78 70 6f 72 74 74 65 | 78 74 0d 70 75 74 20 73 |exportte|xt.put s|
|00004070| 74 72 69 70 28 22 2e 22 | 2c 62 67 20 66 6c 64 20 |trip("."|,bg fld |
|00004080| 22 73 65 71 6e 61 6d 65 | 22 29 26 22 2e 67 62 66 |"seqname|")&".gbf|
|00004090| 6f 72 6d 22 20 69 6e 74 | 6f 20 73 65 71 6e 61 6d |orm" int|o seqnam|
|000040a0| 65 0d 70 75 74 20 31 31 | 20 69 6e 74 6f 20 74 68 |e.put 11| into th|
|000040b0| 65 46 6f 72 6d 61 74 0d | 67 6c 6f 62 61 6c 20 4c |eFormat.|global L|
|000040c0| 45 56 45 4c 4d 45 4d 4f | 52 59 2c 57 4f 52 44 50 |EVELMEMO|RY,WORDP|
|000040d0| 52 4f 43 45 53 53 4f 52 | 0d 70 75 74 20 74 68 65 |ROCESSOR|.put the|
|000040e0| 20 75 73 65 72 6c 65 76 | 65 6c 20 69 6e 74 6f 20 | userlev|el into |
|000040f0| 4c 45 56 45 4c 4d 45 4d | 4f 52 59 0d 73 65 74 20 |LEVELMEM|ORY.set |
|00004100| 75 73 65 72 4c 65 76 65 | 6c 20 74 6f 20 35 0d 73 |userLeve|l to 5.s|
|00004110| 65 74 20 6c 6f 63 6b 4d | 65 73 73 61 67 65 73 20 |et lockM|essages |
|00004120| 74 6f 20 74 72 75 65 0d | 69 66 20 77 6f 72 64 70 |to true.|if wordp|
|00004130| 72 6f 63 65 73 73 6f 72 | 3d 22 4d 69 63 72 6f 73 |rocessor|="Micros|
|00004140| 6f 66 74 20 57 6f 72 64 | 22 20 74 68 65 6e 20 70 |oft Word|" then p|
|00004150| 75 74 20 4d 53 57 44 20 | 69 6e 74 6f 20 66 69 6c |ut MSWD |into fil|
|00004160| 65 63 72 65 61 74 6f 72 | 0d 65 6c 73 65 20 69 66 |ecreator|.else if|
|00004170| 20 77 6f 72 64 70 72 6f | 63 65 73 73 6f 72 3d 22 | wordpro|cessor="|
|00004180| 4d 61 63 57 72 69 74 65 | 22 20 74 68 65 6e 20 70 |MacWrite|" then p|
|00004190| 75 74 20 4d 41 43 41 20 | 69 6e 74 6f 20 66 69 6c |ut MACA |into fil|
|000041a0| 65 63 72 65 61 74 6f 72 | 0d 65 6c 73 65 20 70 75 |ecreator|.else pu|
|000041b0| 74 20 66 61 6c 73 65 20 | 69 6e 74 6f 20 66 69 6c |t false |into fil|
|000041c0| 65 63 72 65 61 74 6f 72 | 0d 57 72 69 74 65 54 6f |ecreator|.WriteTo|
|000041d0| 46 69 6c 65 20 45 58 50 | 4f 52 54 54 45 58 54 2c |File EXP|ORTTEXT,|
|000041e0| 46 41 4c 53 45 2c 53 45 | 51 4e 41 4d 45 2c 46 41 |FALSE,SE|QNAME,FA|
|000041f0| 4c 53 45 2c 46 69 6c 65 | 63 72 65 61 74 6f 72 0d |LSE,File|creator.|
|00004200| 69 66 20 74 68 65 20 72 | 65 73 75 6c 74 20 69 73 |if the r|esult is|
|00004210| 20 22 63 61 6e 63 65 6c | 22 20 74 68 65 6e 20 65 | "cancel|" then e|
|00004220| 78 69 74 20 74 6f 20 48 | 79 70 65 72 63 61 72 64 |xit to H|ypercard|
|00004230| 0d 70 75 74 20 74 68 65 | 20 72 65 73 75 6c 74 20 |.put the| result |
|00004240| 69 6e 74 6f 20 74 68 65 | 66 69 6c 65 0d 72 65 70 |into the|file.rep|
|00004250| 65 61 74 20 75 6e 74 69 | 6c 20 74 68 65 66 69 6c |eat unti|l thefil|
|00004260| 65 20 63 6f 6e 74 61 69 | 6e 73 20 22 3a 22 20 69 |e contai|ns ":" i|
|00004270| 73 20 66 61 6c 73 65 0d | 64 65 6c 65 74 65 20 63 |s false.|delete c|
|00004280| 68 61 72 20 31 20 6f 66 | 20 74 68 65 66 69 6c 65 |har 1 of| thefile|
|00004290| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 41 6e 73 77 |.end rep|eat.Answ|
|000042a0| 65 72 20 22 44 6f 6e 65 | 21 21 21 22 20 77 69 74 |er "Done|!!!" wit|
|000042b0| 68 20 22 4f 4b 22 0d 65 | 6e 64 20 69 66 0d 65 6e |h "OK".e|nd if.en|
|000042c0| 64 20 65 78 70 6f 72 74 | 0d 0d 6f 6e 20 69 6d 70 |d export|..on imp|
|000042d0| 6f 72 74 0d 67 6c 6f 62 | 61 6c 20 6f 6c 64 6e 61 |ort.glob|al oldna|
|000042e0| 6d 65 0d 70 75 74 20 74 | 68 65 20 73 68 6f 72 74 |me.put t|he short|
|000042f0| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 63 64 | name of| this cd|
|00004300| 20 69 6e 74 6f 20 63 64 | 6e 61 6d 65 0d 6c 6f 63 | into cd|name.loc|
|00004310| 6b 74 68 69 6e 67 73 0d | 73 65 74 20 63 61 6e 74 |kthings.|set cant|
|00004320| 61 62 6f 72 74 20 6f 66 | 20 74 68 69 73 20 73 74 |abort of| this st|
|00004330| 61 63 6b 20 74 6f 20 74 | 72 75 65 0d 70 75 74 20 |ack to t|rue.put |
|00004340| 31 20 69 6e 74 6f 20 69 | 73 65 71 0d 64 6f 6d 65 |1 into i|seq.dome|
|00004350| 6e 75 20 22 4e 65 77 20 | 63 61 72 64 22 0d 72 65 |nu "New |card".re|
|00004360| 61 64 73 65 71 20 69 73 | 65 71 2c 20 66 61 6c 73 |adseq is|eq, fals|
|00004370| 65 2c 20 22 73 65 71 6e | 61 6d 65 22 2c 20 66 61 |e, "seqn|ame", fa|
|00004380| 6c 73 65 2c 20 22 6e 6f | 74 65 73 22 0d 69 66 20 |lse, "no|tes".if |
|00004390| 74 68 65 20 72 65 73 75 | 6c 74 20 69 73 20 65 6d |the resu|lt is em|
|000043a0| 70 74 79 20 6f 72 20 74 | 68 65 20 72 65 73 75 6c |pty or t|he resul|
|000043b0| 74 20 69 73 20 22 63 61 | 6e 63 65 6c 22 20 74 68 |t is "ca|ncel" th|
|000043c0| 65 6e 0d 64 6f 6d 65 6e | 75 20 22 63 75 74 20 63 |en.domen|u "cut c|
|000043d0| 61 72 64 22 0d 67 6f 20 | 74 6f 20 63 64 20 63 64 |ard".go |to cd cd|
|000043e0| 6e 61 6d 65 0d 65 78 69 | 74 20 74 6f 20 48 79 70 |name.exi|t to Hyp|
|000043f0| 65 72 63 61 72 64 0d 65 | 6e 64 20 69 66 0d 70 75 |ercard.e|nd if.pu|
|00004400| 74 20 74 68 65 20 72 65 | 73 75 6c 74 20 69 6e 74 |t the re|sult int|
|00004410| 6f 20 66 69 65 6c 64 20 | 22 73 65 71 75 65 6e 63 |o field |"sequenc|
|00004420| 65 22 0d 70 75 74 20 62 | 67 20 66 6c 64 20 22 73 |e".put b|g fld "s|
|00004430| 65 71 6e 61 6d 65 22 20 | 69 6e 74 6f 20 6f 6c 64 |eqname" |into old|
|00004440| 6e 61 6d 65 0d 72 65 70 | 65 61 74 20 75 6e 74 69 |name.rep|eat unti|
|00004450| 6c 20 63 68 6f 69 63 65 | 3d 4f 4b 0d 69 66 20 62 |l choice|=OK.if b|
|00004460| 67 20 66 6c 64 20 22 73 | 65 71 6e 61 6d 65 22 20 |g fld "s|eqname" |
|00004470| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 61 73 |is empty| then.as|
|00004480| 6b 20 22 45 6e 74 65 72 | 20 73 65 71 75 65 6e 63 |k "Enter| sequenc|
|00004490| 65 20 6e 61 6d 65 3a 22 | 0d 69 66 20 69 74 20 69 |e name:"|.if it i|
|000044a0| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 64 6f 6d |s empty |then.dom|
|000044b0| 65 6e 75 20 22 63 75 74 | 20 63 61 72 64 22 0d 67 |enu "cut| card".g|
|000044c0| 6f 20 74 6f 20 63 64 69 | 64 0d 65 78 69 74 20 74 |o to cdi|d.exit t|
|000044d0| 6f 20 48 79 70 65 72 63 | 61 72 64 0d 65 6c 73 65 |o Hyperc|ard.else|
|000044e0| 20 70 75 74 20 69 74 20 | 69 6e 74 6f 20 62 67 20 | put it |into bg |
|000044f0| 66 6c 64 20 22 73 65 71 | 6e 61 6d 65 22 0d 65 6e |fld "seq|name".en|
|00004500| 64 20 69 66 0d 69 66 20 | 74 68 65 20 6c 65 6e 67 |d if.if |the leng|
|00004510| 74 68 20 6f 66 20 62 67 | 20 66 6c 64 20 22 73 65 |th of bg| fld "se|
|00004520| 71 6e 61 6d 65 22 3e 32 | 30 20 74 68 65 6e 0d 70 |qname">2|0 then.p|
|00004530| 6c 61 79 20 68 61 72 70 | 73 69 63 68 6f 72 64 0d |lay harp|sichord.|
|00004540| 61 6e 73 77 65 72 20 22 | 53 65 71 75 65 6e 63 65 |answer "|Sequence|
|00004550| 20 6e 61 6d 65 73 20 61 | 72 65 20 6c 69 6d 69 74 | names a|re limit|
|00004560| 65 64 20 74 6f 20 32 30 | 20 63 68 61 72 61 63 74 |ed to 20| charact|
|00004570| 65 72 73 21 22 20 77 69 | 74 68 20 22 52 65 6e 61 |ers!" wi|th "Rena|
|00004580| 6d 65 22 20 6f 72 20 22 | 43 61 6e 63 65 6c 22 0d |me" or "|Cancel".|
|00004590| 69 66 20 69 74 20 69 73 | 20 22 43 61 6e 63 65 6c |if it is| "Cancel|
|000045a0| 22 20 74 68 65 6e 0d 64 | 6f 6d 65 6e 75 20 22 63 |" then.d|omenu "c|
|000045b0| 75 74 20 63 61 72 64 22 | 0d 67 6f 20 74 6f 20 63 |ut card"|.go to c|
|000045c0| 64 69 64 0d 65 78 69 74 | 20 74 6f 20 48 79 70 65 |did.exit| to Hype|
|000045d0| 72 63 61 72 64 0d 65 6c | 73 65 0d 70 75 74 20 65 |rcard.el|se.put e|
|000045e0| 6d 70 74 79 20 69 6e 74 | 6f 20 62 67 20 66 6c 64 |mpty int|o bg fld|
|000045f0| 20 22 73 65 71 6e 61 6d | 65 22 0d 6e 65 78 74 20 | "seqnam|e".next |
|00004600| 72 65 70 65 61 74 0d 65 | 6e 64 20 69 66 0d 65 6e |repeat.e|nd if.en|
|00004610| 64 20 69 66 0d 69 66 20 | 73 74 72 69 70 28 22 31 |d if.if |strip("1|
|00004620| 32 33 34 35 36 37 38 39 | 30 22 2c 62 67 20 66 6c |23456789|0",bg fl|
|00004630| 64 20 22 73 65 71 6e 61 | 6d 65 22 29 20 69 73 20 |d "seqna|me") is |
|00004640| 65 6d 70 74 79 20 74 68 | 65 6e 0d 70 6c 61 79 20 |empty th|en.play |
|00004650| 68 61 72 70 73 69 63 68 | 6f 72 64 0d 61 6e 73 77 |harpsich|ord.answ|
|00004660| 65 72 20 22 53 65 71 75 | 65 6e 63 65 20 6e 61 6d |er "Sequ|ence nam|
|00004670| 65 73 20 6d 75 73 74 20 | 68 61 76 65 20 61 74 20 |es must |have at |
|00004680| 6c 65 61 73 74 20 6f 6e | 65 20 6e 6f 6e 2d 6e 75 |least on|e non-nu|
|00004690| 6d 65 72 69 63 20 63 68 | 61 72 61 63 74 65 72 21 |meric ch|aracter!|
|000046a0| 22 20 77 69 74 68 20 22 | 52 65 6e 61 6d 65 22 20 |" with "|Rename" |
|000046b0| 6f 72 20 22 43 61 6e 63 | 65 6c 22 0d 69 66 20 69 |or "Canc|el".if i|
|000046c0| 74 20 69 73 20 22 43 61 | 6e 63 65 6c 22 20 74 68 |t is "Ca|ncel" th|
|000046d0| 65 6e 0d 64 6f 6d 65 6e | 75 20 22 63 75 74 20 63 |en.domen|u "cut c|
|000046e0| 61 72 64 22 0d 67 6f 20 | 74 6f 20 63 64 69 64 0d |ard".go |to cdid.|
|000046f0| 65 78 69 74 20 74 6f 20 | 48 79 70 65 72 63 61 72 |exit to |Hypercar|
|00004700| 64 0d 65 6c 73 65 0d 70 | 75 74 20 65 6d 70 74 79 |d.else.p|ut empty|
|00004710| 20 69 6e 74 6f 20 62 67 | 20 66 6c 64 20 22 73 65 | into bg| fld "se|
|00004720| 71 6e 61 6d 65 22 0d 6e | 65 78 74 20 72 65 70 65 |qname".n|ext repe|
|00004730| 61 74 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |at.end i|f.end if|
|00004740| 0d 69 66 20 62 67 20 66 | 6c 64 20 22 73 65 71 6e |.if bg f|ld "seqn|
|00004750| 61 6d 65 22 20 69 73 20 | 69 6e 20 63 64 20 66 6c |ame" is |in cd fl|
|00004760| 64 20 22 73 65 71 69 6e | 64 65 78 22 20 6f 66 20 |d "seqin|dex" of |
|00004770| 63 64 20 31 20 74 68 65 | 6e 0d 70 75 74 20 63 64 |cd 1 the|n.put cd|
|00004780| 20 66 6c 64 20 22 73 65 | 71 69 6e 64 65 78 22 20 | fld "se|qindex" |
|00004790| 6f 66 20 63 64 20 31 20 | 69 6e 74 6f 20 73 65 71 |of cd 1 |into seq|
|000047a0| 69 6e 64 65 78 0d 72 65 | 70 65 61 74 20 77 69 74 |index.re|peat wit|
|000047b0| 68 20 78 3d 31 20 74 6f | 20 74 68 65 20 6e 75 6d |h x=1 to| the num|
|000047c0| 62 65 72 20 6f 66 20 6c | 69 6e 65 73 20 6f 66 20 |ber of l|ines of |
|000047d0| 73 65 71 69 6e 64 65 78 | 0d 69 66 20 6c 69 6e 65 |seqindex|.if line|
|000047e0| 20 78 20 6f 66 20 73 65 | 71 69 6e 64 65 78 3d 62 | x of se|qindex=b|
|000047f0| 67 20 66 6c 64 20 22 73 | 65 71 6e 61 6d 65 22 20 |g fld "s|eqname" |
|00004800| 74 68 65 6e 0d 70 6c 61 | 79 20 68 61 72 70 73 69 |then.pla|y harpsi|
|00004810| 63 68 6f 72 64 0d 61 6e | 73 77 65 72 20 22 53 6f |chord.an|swer "So|
|00004820| 72 72 79 2c 20 61 20 73 | 65 71 75 65 6e 63 65 20 |rry, a s|equence |
|00004830| 77 69 74 68 20 74 68 61 | 74 20 6e 61 6d 65 20 61 |with tha|t name a|
|00004840| 6c 72 65 61 64 79 20 65 | 78 69 73 74 73 21 22 20 |lready e|xists!" |
|00004850| 77 69 74 68 20 22 52 65 | 6e 61 6d 65 22 20 6f 72 |with "Re|name" or|
|00004860| 20 22 43 61 6e 63 65 6c | 22 0d 69 66 20 69 74 20 | "Cancel|".if it |
|00004870| 69 73 20 22 43 61 6e 63 | 65 6c 22 20 74 68 65 6e |is "Canc|el" then|
|00004880| 0d 64 6f 6d 65 6e 75 20 | 22 63 75 74 20 63 61 72 |.domenu |"cut car|
|00004890| 64 22 0d 67 6f 20 74 6f | 20 63 64 69 64 0d 65 78 |d".go to| cdid.ex|
|000048a0| 69 74 20 74 6f 20 48 79 | 70 65 72 63 61 72 64 0d |it to Hy|percard.|
|000048b0| 65 6c 73 65 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |else.put| empty i|
|000048c0| 6e 74 6f 20 62 67 20 66 | 6c 64 20 22 73 65 71 6e |nto bg f|ld "seqn|
|000048d0| 61 6d 65 22 0d 65 78 69 | 74 20 72 65 70 65 61 74 |ame".exi|t repeat|
|000048e0| 0d 65 6e 64 20 69 66 0d | 65 6c 73 65 20 69 66 20 |.end if.|else if |
|000048f0| 78 3d 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |x=the nu|mber of |
|00004900| 6c 69 6e 65 73 20 6f 66 | 20 73 65 71 69 6e 64 65 |lines of| seqinde|
|00004910| 78 20 74 68 65 6e 20 70 | 75 74 20 4f 4b 20 69 6e |x then p|ut OK in|
|00004920| 74 6f 20 63 68 6f 69 63 | 65 0d 65 6e 64 20 72 65 |to choic|e.end re|
|00004930| 70 65 61 74 0d 65 6c 73 | 65 20 65 78 69 74 20 72 |peat.els|e exit r|
|00004940| 65 70 65 61 74 0d 65 6e | 64 20 72 65 70 65 61 74 |epeat.en|d repeat|
|00004950| 0d 73 65 74 20 73 63 72 | 6f 6c 6c 20 6f 66 20 62 |.set scr|oll of b|
|00004960| 67 20 66 6c 64 20 22 73 | 65 71 75 65 6e 63 65 22 |g fld "s|equence"|
|00004970| 20 74 6f 20 30 0d 73 65 | 74 20 73 63 72 6f 6c 6c | to 0.se|t scroll|
|00004980| 20 6f 66 20 62 67 20 66 | 6c 64 20 22 6e 6f 74 65 | of bg f|ld "note|
|00004990| 73 22 20 74 6f 20 30 0d | 70 75 74 20 74 68 65 20 |s" to 0.|put the |
|000049a0| 6c 65 6e 67 74 68 20 6f | 66 20 73 74 72 69 70 28 |length o|f strip(|
|000049b0| 73 70 61 63 65 26 72 65 | 74 75 72 6e 2c 62 67 20 |space&re|turn,bg |
|000049c0| 66 6c 64 20 69 64 20 36 | 30 29 20 69 6e 74 6f 20 |fld id 6|0) into |
|000049d0| 62 67 20 66 6c 64 20 22 | 62 61 73 65 6e 75 6d 22 |bg fld "|basenum"|
|000049e0| 0d 64 6f 6c 69 6e 65 73 | 0d 73 65 74 20 74 68 65 |.dolines|.set the|
|000049f0| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 63 64 | name of| this cd|
|00004a00| 20 74 6f 20 66 6c 64 20 | 22 73 65 71 6e 61 6d 65 | to fld |"seqname|
|00004a10| 22 0d 73 65 74 20 74 68 | 65 20 76 69 73 69 62 6c |".set th|e visibl|
|00004a20| 65 20 6f 66 20 62 67 20 | 62 74 6e 20 22 4c 6f 63 |e of bg |btn "Loc|
|00004a30| 6b 65 64 22 20 74 6f 20 | 74 72 75 65 0d 70 75 74 |ked" to |true.put|
|00004a40| 20 74 68 65 20 6c 6f 6e | 67 20 64 61 74 65 20 69 | the lon|g date i|
|00004a50| 6e 74 6f 20 62 67 20 66 | 6c 64 20 22 64 61 74 65 |nto bg f|ld "date|
|00004a60| 22 0d 70 75 74 20 74 68 | 65 20 74 69 6d 65 20 69 |".put th|e time i|
|00004a70| 6e 74 6f 20 62 67 20 66 | 6c 64 20 22 74 69 6d 65 |nto bg f|ld "time|
|00004a80| 22 0d 70 75 74 20 66 6c | 64 20 22 73 65 71 6e 61 |".put fl|d "seqna|
|00004a90| 6d 65 22 20 69 6e 74 6f | 20 6f 6c 64 6e 61 6d 65 |me" into| oldname|
|00004aa0| 0d 73 65 74 20 68 69 6c | 69 74 65 20 6f 66 20 62 |.set hil|ite of b|
|00004ab0| 67 20 62 74 6e 20 22 4e | 75 6d 62 65 72 69 6e 67 |g btn "N|umbering|
|00004ac0| 22 20 74 6f 20 74 72 75 | 65 0d 70 75 74 20 72 65 |" to tru|e.put re|
|00004ad0| 74 75 72 6e 26 66 6c 64 | 20 22 73 65 71 6e 61 6d |turn&fld| "seqnam|
|00004ae0| 65 22 20 61 66 74 65 72 | 20 63 64 20 66 6c 64 20 |e" after| cd fld |
|00004af0| 22 73 65 71 69 6e 64 65 | 78 22 20 6f 66 20 63 64 |"seqinde|x" of cd|
|00004b00| 20 31 0d 70 75 74 20 73 | 6f 72 74 66 69 65 6c 64 | 1.put s|ortfield|
|00004b10| 20 28 63 64 20 66 6c 64 | 20 22 73 65 71 69 6e 64 | (cd fld| "seqind|
|00004b20| 65 78 22 20 6f 66 20 63 | 64 20 31 29 20 69 6e 74 |ex" of c|d 1) int|
|00004b30| 6f 20 63 64 20 66 6c 64 | 20 22 73 65 71 69 6e 64 |o cd fld| "seqind|
|00004b40| 65 78 22 20 6f 66 20 63 | 64 20 31 0d 69 66 20 6c |ex" of c|d 1.if l|
|00004b50| 69 6e 65 20 31 20 6f 66 | 20 63 64 20 66 6c 64 20 |ine 1 of| cd fld |
|00004b60| 22 73 65 71 69 6e 64 65 | 78 22 20 6f 66 20 63 64 |"seqinde|x" of cd|
|00004b70| 20 31 20 69 73 20 65 6d | 70 74 79 20 74 68 65 6e | 1 is em|pty then|
|00004b80| 20 64 65 6c 65 74 65 20 | 6c 69 6e 65 20 31 20 6f | delete |line 1 o|
|00004b90| 66 20 63 64 20 66 6c 64 | 20 22 73 65 71 69 6e 64 |f cd fld| "seqind|
|00004ba0| 65 78 22 20 6f 66 20 63 | 64 20 31 0d 73 6f 72 74 |ex" of c|d 1.sort|
|00004bb0| 20 61 73 63 65 6e 64 69 | 6e 67 20 62 79 20 66 6c | ascendi|ng by fl|
|00004bc0| 64 20 22 73 65 71 6e 61 | 6d 65 22 0d 67 6f 20 74 |d "seqna|me".go t|
|00004bd0| 6f 20 63 64 20 6f 6c 64 | 6e 61 6d 65 0d 65 6e 61 |o cd old|name.ena|
|00004be0| 62 6c 65 20 6d 65 6e 75 | 20 22 53 65 71 75 65 6e |ble menu| "Sequen|
|00004bf0| 63 65 73 22 0d 75 6e 6c | 6f 63 6b 20 73 63 72 65 |ces".unl|ock scre|
|00004c00| 65 6e 20 77 69 74 68 20 | 76 69 73 75 61 6c 20 65 |en with |visual e|
|00004c10| 66 66 65 63 74 20 69 72 | 69 73 20 6f 70 65 6e 0d |ffect ir|is open.|
|00004c20| 65 6e 64 20 69 6d 70 6f | 72 74 0d 0d 6f 6e 20 67 |end impo|rt..on g|
|00004c30| 65 6e 68 65 6c 70 0d 70 | 69 63 74 75 72 65 20 22 |enhelp.p|icture "|
|00004c40| 47 65 6e 42 61 6e 6b 20 | 48 65 6c 70 22 2c 72 65 |GenBank |Help",re|
|00004c50| 73 6f 75 72 63 65 2c 2c | 66 61 6c 73 65 0d 73 65 |source,,|false.se|
|00004c60| 74 20 74 68 65 20 72 65 | 63 74 20 6f 66 20 77 69 |t the re|ct of wi|
|00004c70| 6e 64 6f 77 20 22 47 65 | 6e 62 61 6e 6b 20 48 65 |ndow "Ge|nbank He|
|00004c80| 6c 70 22 20 74 6f 20 37 | 35 2c 31 32 32 2c 35 32 |lp" to 7|5,122,52|
|00004c90| 38 2c 33 36 33 0d 73 68 | 6f 77 20 77 69 6e 64 6f |8,363.sh|ow windo|
|00004ca0| 77 20 22 47 65 6e 62 61 | 6e 6b 20 48 65 6c 70 22 |w "Genba|nk Help"|
|00004cb0| 0d 65 6e 64 20 67 65 6e | 68 65 6c 70 0d 0d 6f 6e |.end gen|help..on|
|00004cc0| 20 73 65 61 72 63 68 73 | 65 71 20 6f 6c 69 67 6f | searchs|eq oligo|
|00004cd0| 73 2c 6e 61 6d 65 0d 67 | 6c 6f 62 61 6c 20 73 65 |s,name.g|lobal se|
|00004ce0| 61 72 63 68 73 74 72 69 | 6e 67 0d 70 75 74 20 65 |archstri|ng.put e|
|00004cf0| 6d 70 74 79 20 69 6e 74 | 6f 20 63 6f 6d 70 73 65 |mpty int|o compse|
|00004d00| 71 0d 70 75 74 20 22 30 | 22 20 69 6e 74 6f 20 73 |q.put "0|" into s|
|00004d10| 74 61 72 74 0d 70 75 74 | 20 22 30 22 20 69 6e 74 |tart.put| "0" int|
|00004d20| 6f 20 63 6f 75 6e 74 65 | 72 0d 70 75 74 20 65 6d |o counte|r.put em|
|00004d30| 70 74 79 20 69 6e 74 6f | 20 68 6f 6c 64 65 72 0d |pty into| holder.|
|00004d40| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 63 |put empt|y into c|
|00004d50| 6f 6d 6d 65 6e 74 0d 70 | 75 74 20 65 6d 70 74 79 |omment.p|ut empty|
|00004d60| 20 69 6e 74 6f 20 6e 75 | 6d 0d 70 75 74 20 73 70 | into nu|m.put sp|
|00004d70| 61 63 65 26 72 65 74 75 | 72 6e 20 69 6e 74 6f 20 |ace&retu|rn into |
|00004d80| 65 78 74 72 61 63 68 61 | 72 73 0d 70 75 74 20 22 |extracha|rs.put "|
|00004d90| 20 31 32 33 34 35 36 37 | 38 39 30 22 26 72 65 74 | 1234567|890"&ret|
|00004da0| 75 72 6e 20 69 6e 74 6f | 20 61 64 64 63 68 61 72 |urn into| addchar|
|00004db0| 73 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |s.put em|pty into|
|00004dc0| 20 66 69 72 73 74 63 68 | 61 72 50 0d 69 66 20 6f | firstch|arP.if o|
|00004dd0| 6c 69 67 6f 73 20 69 73 | 20 65 6d 70 74 79 20 74 |ligos is| empty t|
|00004de0| 68 65 6e 0d 70 75 74 20 | 73 65 61 72 63 68 73 74 |hen.put |searchst|
|00004df0| 72 69 6e 67 26 72 65 74 | 75 72 6e 26 22 6f 6e 22 |ring&ret|urn&"on"|
|00004e00| 20 69 6e 74 6f 20 73 65 | 74 75 70 0d 67 65 74 20 | into se|tup.get |
|00004e10| 6d 6f 64 61 6c 64 69 61 | 6c 6f 67 28 22 73 65 61 |modaldia|log("sea|
|00004e20| 72 63 68 22 2c 73 65 74 | 75 70 2c 73 63 72 65 65 |rch",set|up,scree|
|00004e30| 6e 63 65 6e 74 65 72 29 | 0d 69 66 20 69 74 3d 63 |ncenter)|.if it=c|
|00004e40| 61 6e 63 65 6c 20 74 68 | 65 6e 20 65 78 69 74 20 |ancel th|en exit |
|00004e50| 74 6f 20 48 79 70 65 72 | 63 61 72 64 0d 70 75 74 |to Hyper|card.put|
|00004e60| 20 6c 69 6e 65 20 31 20 | 6f 66 20 69 74 20 69 6e | line 1 |of it in|
|00004e70| 74 6f 20 73 65 61 72 63 | 68 73 74 72 69 6e 67 0d |to searc|hstring.|
|00004e80| 69 66 20 6c 69 6e 65 20 | 33 20 6f 66 20 69 74 3d |if line |3 of it=|
|00004e90| 6f 6e 20 74 68 65 6e 0d | 69 66 20 73 65 61 72 63 |on then.|if searc|
|00004ea0| 68 73 74 72 69 6e 67 20 | 63 6f 6e 74 61 69 6e 73 |hstring |contains|
|00004eb0| 20 22 74 22 20 74 68 65 | 6e 20 70 75 74 20 22 44 | "t" the|n put "D|
|00004ec0| 4e 41 22 20 69 6e 74 6f | 20 6e 75 63 74 79 70 65 |NA" into| nuctype|
|00004ed0| 0d 65 6c 73 65 20 70 75 | 74 20 22 52 4e 41 22 20 |.else pu|t "RNA" |
|00004ee0| 69 6e 74 6f 20 6e 75 63 | 74 79 70 65 0d 69 66 20 |into nuc|type.if |
|00004ef0| 6e 75 63 74 79 70 65 3c | 3e 52 4e 41 20 74 68 65 |nuctype<|>RNA the|
|00004f00| 6e 20 70 75 74 20 22 66 | 61 6c 73 65 22 20 69 6e |n put "f|alse" in|
|00004f10| 74 6f 20 72 6e 61 0d 69 | 66 20 73 74 72 69 70 20 |to rna.i|f strip |
|00004f20| 28 22 61 74 75 67 63 41 | 54 55 47 43 4e 2a 2e 22 |("atugcA|TUGCN*."|
|00004f30| 2c 73 65 61 72 63 68 73 | 74 72 69 6e 67 29 20 69 |,searchs|tring) i|
|00004f40| 73 20 65 6d 70 74 79 20 | 69 73 20 66 61 6c 73 65 |s empty |is false|
|00004f50| 20 74 68 65 6e 0d 61 6e | 73 77 65 72 20 22 49 6e | then.an|swer "In|
|00004f60| 76 61 6c 69 64 20 63 68 | 61 72 61 63 74 65 72 73 |valid ch|aracters|
|00004f70| 20 75 73 65 64 21 22 20 | 77 69 74 68 20 22 43 61 | used!" |with "Ca|
|00004f80| 6e 63 65 6c 22 0d 65 78 | 69 74 20 74 6f 20 48 79 |ncel".ex|it to Hy|
|00004f90| 70 65 72 43 61 72 64 0d | 65 6e 64 20 69 66 0d 70 |perCard.|end if.p|
|00004fa0| 75 74 20 72 65 76 65 72 | 73 65 53 74 72 69 6e 67 |ut rever|seString|
|00004fb0| 28 73 65 61 72 63 68 73 | 74 72 69 6e 67 29 20 69 |(searchs|tring) i|
|00004fc0| 6e 74 6f 20 72 63 6f 75 | 74 0d 69 66 20 72 6e 61 |nto rcou|t.if rna|
|00004fd0| 20 69 73 20 22 66 61 6c | 73 65 22 20 74 68 65 6e | is "fal|se" then|
|00004fe0| 20 70 75 74 20 22 54 41 | 41 43 47 22 20 69 6e 74 | put "TA|ACG" int|
|00004ff0| 6f 20 74 6f 53 74 72 0d | 65 6c 73 65 20 70 75 74 |o toStr.|else put|
|00005000| 20 22 55 41 41 43 47 22 | 20 61 66 74 65 72 20 74 | "UAACG"| after t|
|00005010| 6f 53 74 72 0d 70 75 74 | 20 74 72 61 6e 73 6c 69 |oStr.put| transli|
|00005020| 74 28 22 61 74 75 67 63 | 41 54 55 47 43 22 2c 20 |t("atugc|ATUGC", |
|00005030| 74 6f 53 74 72 20 26 20 | 74 6f 53 74 72 2c 20 72 |toStr & |toStr, r|
|00005040| 63 6f 75 74 29 20 69 6e | 74 6f 20 72 63 6f 75 74 |cout) in|to rcout|
|00005050| 0d 70 75 74 20 74 72 61 | 6e 73 6c 69 74 28 22 c2 |.put tra|nslit(".|
|00005060| 41 54 55 47 43 2e 4e 2a | 22 2c 20 22 20 22 2c 20 |ATUGC.N*|", " ", |
|00005070| 72 63 6f 75 74 29 20 69 | 6e 74 6f 20 73 65 61 72 |rcout) i|nto sear|
|00005080| 63 68 73 74 72 69 6e 67 | 0d 65 6e 64 20 69 66 0d |chstring|.end if.|
|00005090| 65 6c 73 65 20 70 75 74 | 20 73 74 72 69 70 28 72 |else put| strip(r|
|000050a0| 65 74 75 72 6e 26 73 70 | 61 63 65 2c 6f 6c 69 67 |eturn&sp|ace,olig|
|000050b0| 6f 73 29 20 69 6e 74 6f | 20 73 65 61 72 63 68 73 |os) into| searchs|
|000050c0| 74 72 69 6e 67 0d 70 75 | 74 20 62 67 20 66 6c 64 |tring.pu|t bg fld|
|000050d0| 20 69 64 20 36 30 20 69 | 6e 74 6f 20 74 65 73 74 | id 60 i|nto test|
|000050e0| 73 65 71 31 0d 70 75 74 | 20 73 74 72 69 70 28 65 |seq1.put| strip(e|
|000050f0| 78 74 72 61 63 68 61 72 | 73 2c 74 65 73 74 73 65 |xtrachar|s,testse|
|00005100| 71 31 29 20 69 6e 74 6f | 20 74 65 73 74 73 65 71 |q1) into| testseq|
|00005110| 0d 70 75 74 20 74 68 65 | 20 6c 65 6e 67 74 68 20 |.put the| length |
|00005120| 6f 66 20 6c 69 6e 65 20 | 31 20 6f 66 20 74 65 73 |of line |1 of tes|
|00005130| 74 73 65 71 31 20 69 6e | 74 6f 20 6c 69 6e 65 6c |tseq1 in|to linel|
|00005140| 65 6e 67 74 68 32 0d 70 | 75 74 20 74 68 65 20 6c |ength2.p|ut the l|
|00005150| 65 6e 67 74 68 20 6f 66 | 20 73 74 72 69 70 28 65 |ength of| strip(e|
|00005160| 78 74 72 61 63 68 61 72 | 73 2c 6c 69 6e 65 20 31 |xtrachar|s,line 1|
|00005170| 20 6f 66 20 74 65 73 74 | 73 65 71 31 29 20 69 6e | of test|seq1) in|
|00005180| 74 6f 20 6c 69 6e 65 6c | 65 6e 67 74 68 0d 70 75 |to linel|ength.pu|
|00005190| 74 20 74 68 65 20 6c 65 | 6e 67 74 68 20 6f 66 20 |t the le|ngth of |
|000051a0| 65 78 74 72 61 63 74 28 | 65 78 74 72 61 63 68 61 |extract(|extracha|
|000051b0| 72 73 2c 6c 69 6e 65 20 | 31 20 6f 66 20 74 65 73 |rs,line |1 of tes|
|000051c0| 74 73 65 71 31 29 2f 6c | 69 6e 65 6c 65 6e 67 74 |tseq1)/l|inelengt|
|000051d0| 68 20 69 6e 74 6f 20 66 | 6f 72 6d 61 74 0d 69 66 |h into f|ormat.if|
|000051e0| 20 74 65 73 74 73 65 71 | 31 20 63 6f 6e 74 61 69 | testseq|1 contai|
|000051f0| 6e 73 20 22 31 22 20 74 | 68 65 6e 0d 73 75 62 74 |ns "1" t|hen.subt|
|00005200| 72 61 63 74 20 31 30 2f | 6c 69 6e 65 6c 65 6e 67 |ract 10/|lineleng|
|00005210| 74 68 20 66 72 6f 6d 20 | 66 6f 72 6d 61 74 0d 65 |th from |format.e|
|00005220| 6e 64 20 69 66 0d 72 65 | 70 65 61 74 20 66 6f 72 |nd if.re|peat for|
|00005230| 65 76 65 72 0d 69 66 20 | 73 74 61 72 74 3d 30 20 |ever.if |start=0 |
|00005240| 74 68 65 6e 0d 67 65 74 | 20 73 65 61 72 63 68 20 |then.get| search |
|00005250| 28 74 65 73 74 73 65 71 | 2c 73 65 61 72 63 68 73 |(testseq|,searchs|
|00005260| 74 72 69 6e 67 2c 66 61 | 6c 73 65 2c 61 6c 6c 29 |tring,fa|lse,all)|
|00005270| 0d 70 6c 61 79 20 68 61 | 72 70 73 69 63 68 6f 72 |.play ha|rpsichor|
|00005280| 64 0d 69 66 20 69 74 65 | 6d 20 31 20 6f 66 20 69 |d.if ite|m 1 of i|
|00005290| 74 3c 31 20 74 68 65 6e | 0d 69 66 20 74 68 65 20 |t<1 then|.if the |
|000052a0| 74 61 72 67 65 74 20 63 | 6f 6e 74 61 69 6e 73 20 |target c|ontains |
|000052b0| 22 4f 6c 69 67 6f 73 22 | 20 74 68 65 6e 0d 61 6e |"Oligos"| then.an|
|000052c0| 73 77 65 72 20 22 53 6f | 72 72 79 2c 20 49 20 63 |swer "So|rry, I c|
|000052d0| 61 6e 27 74 20 66 69 6e | 64 20 61 20 6d 61 74 63 |an't fin|d a matc|
|000052e0| 68 20 66 6f 72 20 74 68 | 69 73 20 6f 6c 69 67 6f |h for th|is oligo|
|000052f0| 21 21 22 0d 65 6c 73 65 | 20 61 6e 73 77 65 72 20 |!!".else| answer |
|00005300| 22 53 6f 72 72 79 2c 20 | 49 20 63 61 6e 6e 6f 74 |"Sorry, |I cannot|
|00005310| 20 66 69 6e 64 20 22 26 | 73 65 61 72 63 68 73 74 | find "&|searchst|
|00005320| 72 69 6e 67 26 22 21 22 | 0d 65 78 69 74 20 74 6f |ring&"!"|.exit to|
|00005330| 20 48 79 70 65 72 63 61 | 72 64 0d 65 6c 73 65 0d | Hyperca|rd.else.|
|00005340| 70 75 74 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |put the |number o|
|00005350| 66 20 6c 69 6e 65 73 20 | 6f 66 20 69 74 20 69 6e |f lines |of it in|
|00005360| 74 6f 20 6f 63 63 75 72 | 72 65 6e 63 65 73 0d 69 |to occur|rences.i|
|00005370| 66 20 6f 6c 69 67 6f 73 | 20 69 73 20 65 6d 70 74 |f oligos| is empt|
|00005380| 79 20 74 68 65 6e 20 70 | 75 74 20 73 65 61 72 63 |y then p|ut searc|
|00005390| 68 73 74 72 69 6e 67 20 | 69 6e 74 6f 20 6e 61 6d |hstring |into nam|
|000053a0| 65 0d 69 66 20 6f 63 63 | 75 72 72 65 6e 63 65 73 |e.if occ|urrences|
|000053b0| 3e 31 20 74 68 65 6e 0d | 61 6e 73 77 65 72 20 4f |>1 then.|answer O|
|000053c0| 63 63 75 72 72 65 6e 63 | 65 73 26 22 20 6f 63 63 |ccurrenc|es&" occ|
|000053d0| 75 72 72 65 6e 63 65 73 | 20 6f 66 20 22 26 6e 61 |urrences| of "&na|
|000053e0| 6d 65 26 22 21 21 21 22 | 0d 65 6c 73 65 20 61 6e |me&"!!!"|.else an|
|000053f0| 73 77 65 72 20 6f 63 63 | 75 72 72 65 6e 63 65 73 |swer occ|urrences|
|00005400| 26 20 22 20 6f 63 63 75 | 72 72 65 6e 63 65 20 6f |& " occu|rrence o|
|00005410| 66 20 22 26 6e 61 6d 65 | 26 22 21 21 21 22 0d 65 |f "&name|&"!!!".e|
|00005420| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 67 65 74 |nd if.en|d if.get|
|00005430| 20 66 69 6e 64 69 6e 66 | 69 65 6c 64 20 28 74 65 | findinf|ield (te|
|00005440| 73 74 73 65 71 2c 73 65 | 61 72 63 68 73 74 72 69 |stseq,se|archstri|
|00005450| 6e 67 2c 22 66 61 6c 73 | 65 22 2c 73 74 61 72 74 |ng,"fals|e",start|
|00005460| 29 0d 70 75 74 20 69 74 | 65 6d 20 31 20 6f 66 20 |).put it|em 1 of |
|00005470| 69 74 20 69 6e 74 6f 20 | 66 69 72 73 74 63 68 61 |it into |firstcha|
|00005480| 72 0d 69 66 20 74 65 73 | 74 73 65 71 31 20 63 6f |r.if tes|tseq1 co|
|00005490| 6e 74 61 69 6e 73 20 22 | 31 22 20 74 68 65 6e 20 |ntains "|1" then |
|000054a0| 70 75 74 20 31 30 2a 28 | 31 2b 74 72 75 6e 63 28 |put 10*(|1+trunc(|
|000054b0| 66 69 72 73 74 63 68 61 | 72 2f 6c 69 6e 65 6c 65 |firstcha|r/linele|
|000054c0| 6e 67 74 68 29 29 20 69 | 6e 74 6f 20 6e 75 6d 0d |ngth)) i|nto num.|
|000054d0| 70 75 74 20 74 72 75 6e | 63 28 66 6f 72 6d 61 74 |put trun|c(format|
|000054e0| 2a 66 69 72 73 74 63 68 | 61 72 29 20 69 6e 74 6f |*firstch|ar) into|
|000054f0| 20 66 6f 72 6d 61 74 66 | 61 63 74 6f 72 0d 70 75 | formatf|actor.pu|
|00005500| 74 20 66 69 72 73 74 63 | 68 61 72 2b 66 6f 72 6d |t firstc|har+form|
|00005510| 61 74 66 61 63 74 6f 72 | 2b 6e 75 6d 2b 74 72 75 |atfactor|+num+tru|
|00005520| 6e 63 28 28 66 69 72 73 | 74 63 68 61 72 2b 66 6f |nc((firs|tchar+fo|
|00005530| 72 6d 61 74 66 61 63 74 | 6f 72 2b 6e 75 6d 29 2f |rmatfact|or+num)/|
|00005540| 6c 69 6e 65 6c 65 6e 67 | 74 68 32 29 20 69 6e 74 |lineleng|th2) int|
|00005550| 6f 20 66 69 72 73 74 63 | 68 61 72 50 0d 69 66 20 |o firstc|harP.if |
|00005560| 66 69 72 73 74 63 68 61 | 72 2f 6c 69 6e 65 6c 65 |firstcha|r/linele|
|00005570| 6e 67 74 68 3c 31 20 61 | 6e 64 20 74 68 65 20 6e |ngth<1 a|nd the n|
|00005580| 75 6d 62 65 72 20 6f 66 | 20 6c 69 6e 65 73 20 6f |umber of| lines o|
|00005590| 66 20 74 65 73 74 73 65 | 71 31 3e 31 20 74 68 65 |f testse|q1>1 the|
|000055a0| 6e 20 73 75 62 74 72 61 | 63 74 20 31 20 66 72 6f |n subtra|ct 1 fro|
|000055b0| 6d 20 66 69 72 73 74 63 | 68 61 72 50 0d 70 75 74 |m firstc|harP.put|
|000055c0| 20 74 72 75 6e 63 28 74 | 68 65 20 6c 65 6e 67 74 | trunc(t|he lengt|
|000055d0| 68 20 6f 66 20 73 65 61 | 72 63 68 73 74 72 69 6e |h of sea|rchstrin|
|000055e0| 67 2a 66 6f 72 6d 61 74 | 29 2b 28 74 68 65 20 6c |g*format|)+(the l|
|000055f0| 65 6e 67 74 68 20 6f 66 | 20 73 65 61 72 63 68 73 |ength of| searchs|
|00005600| 74 72 69 6e 67 2d 31 29 | 2b 66 69 72 73 74 63 68 |tring-1)|+firstch|
|00005610| 61 72 50 20 69 6e 74 6f | 20 6c 61 73 74 63 68 61 |arP into| lastcha|
|00005620| 72 0d 69 66 20 6f 63 63 | 75 72 72 65 6e 63 65 73 |r.if occ|urrences|
|00005630| 3e 63 6f 75 6e 74 65 72 | 20 74 68 65 6e 0d 70 75 |>counter| then.pu|
|00005640| 74 20 66 69 72 73 74 63 | 68 61 72 26 22 2d 22 26 |t firstc|har&"-"&|
|00005650| 66 69 72 73 74 63 68 61 | 72 2b 74 68 65 20 6c 65 |firstcha|r+the le|
|00005660| 6e 67 74 68 20 6f 66 20 | 73 65 61 72 63 68 73 74 |ngth of |searchst|
|00005670| 72 69 6e 67 2d 31 20 69 | 6e 74 6f 20 62 67 20 66 |ring-1 i|nto bg f|
|00005680| 6c 64 20 22 62 61 73 65 | 6e 75 6d 22 0d 65 6e 64 |ld "base|num".end|
|00005690| 20 69 66 0d 69 66 20 66 | 69 72 73 74 63 68 61 72 | if.if f|irstchar|
|000056a0| 2b 6e 75 6d 3e 31 20 61 | 6e 64 20 73 74 72 69 70 |+num>1 a|nd strip|
|000056b0| 28 61 64 64 63 68 61 72 | 73 2c 74 68 65 20 73 65 |(addchar|s,the se|
|000056c0| 6c 65 63 74 65 64 74 65 | 78 74 29 20 63 6f 6e 74 |lectedte|xt) cont|
|000056d0| 61 69 6e 73 20 73 65 61 | 72 63 68 73 74 72 69 6e |ains sea|rchstrin|
|000056e0| 67 20 69 73 20 66 61 6c | 73 65 20 74 68 65 6e 0d |g is fal|se then.|
|000056f0| 72 65 70 65 61 74 20 75 | 6e 74 69 6c 20 73 74 72 |repeat u|ntil str|
|00005700| 69 70 28 61 64 64 63 68 | 61 72 73 2c 63 68 61 72 |ip(addch|ars,char|
|00005710| 20 66 69 72 73 74 63 68 | 61 72 50 20 74 6f 20 6c | firstch|arP to l|
|00005720| 61 73 74 63 68 61 72 20 | 6f 66 20 62 67 20 66 6c |astchar |of bg fl|
|00005730| 64 20 69 64 20 36 30 29 | 20 63 6f 6e 74 61 69 6e |d id 60)| contain|
|00005740| 73 20 73 65 61 72 63 68 | 73 74 72 69 6e 67 0d 73 |s search|string.s|
|00005750| 75 62 74 72 61 63 74 20 | 31 20 66 72 6f 6d 20 66 |ubtract |1 from f|
|00005760| 69 72 73 74 63 68 61 72 | 50 0d 61 64 64 20 31 20 |irstchar|P.add 1 |
|00005770| 74 6f 20 6c 61 73 74 63 | 68 61 72 0d 65 6e 64 20 |to lastc|har.end |
|00005780| 72 65 70 65 61 74 0d 72 | 65 70 65 61 74 20 77 68 |repeat.r|epeat wh|
|00005790| 69 6c 65 20 73 74 72 69 | 70 28 61 64 64 63 68 61 |ile stri|p(addcha|
|000057a0| 72 73 2c 63 68 61 72 20 | 66 69 72 73 74 63 68 61 |rs,char |firstcha|
|000057b0| 72 50 20 74 6f 20 6c 61 | 73 74 63 68 61 72 20 6f |rP to la|stchar o|
|000057c0| 66 20 62 67 20 66 6c 64 | 20 69 64 20 36 30 29 20 |f bg fld| id 60) |
|000057d0| 63 6f 6e 74 61 69 6e 73 | 20 73 65 61 72 63 68 73 |contains| searchs|
|000057e0| 74 72 69 6e 67 0d 61 64 | 64 20 31 20 74 6f 20 66 |tring.ad|d 1 to f|
|000057f0| 69 72 73 74 63 68 61 72 | 50 0d 65 6e 64 20 72 65 |irstchar|P.end re|
|00005800| 70 65 61 74 0d 73 75 62 | 74 72 61 63 74 20 31 20 |peat.sub|tract 1 |
|00005810| 66 72 6f 6d 20 66 69 72 | 73 74 63 68 61 72 50 0d |from fir|stcharP.|
|00005820| 72 65 70 65 61 74 20 77 | 68 69 6c 65 20 73 74 72 |repeat w|hile str|
|00005830| 69 70 28 61 64 64 63 68 | 61 72 73 2c 63 68 61 72 |ip(addch|ars,char|
|00005840| 20 66 69 72 73 74 63 68 | 61 72 50 20 74 6f 20 6c | firstch|arP to l|
|00005850| 61 73 74 63 68 61 72 20 | 6f 66 20 62 67 20 66 6c |astchar |of bg fl|
|00005860| 64 20 69 64 20 36 30 29 | 20 63 6f 6e 74 61 69 6e |d id 60)| contain|
|00005870| 73 20 73 65 61 72 63 68 | 73 74 72 69 6e 67 0d 73 |s search|string.s|
|00005880| 75 62 74 72 61 63 74 20 | 31 20 66 72 6f 6d 20 6c |ubtract |1 from l|
|00005890| 61 73 74 63 68 61 72 0d | 65 6e 64 20 72 65 70 65 |astchar.|end repe|
|000058a0| 61 74 0d 61 64 64 20 31 | 20 74 6f 20 6c 61 73 74 |at.add 1| to last|
|000058b0| 63 68 61 72 0d 65 6e 64 | 20 69 66 0d 73 65 6c 65 |char.end| if.sele|
|000058c0| 63 74 20 63 68 61 72 20 | 66 69 72 73 74 63 68 61 |ct char |firstcha|
|000058d0| 72 50 20 74 6f 20 6c 61 | 73 74 63 68 61 72 20 6f |rP to la|stchar o|
|000058e0| 66 20 62 67 20 66 69 65 | 6c 64 20 69 64 20 36 30 |f bg fie|ld id 60|
|000058f0| 0d 73 65 74 6c 69 6e 65 | 73 0d 73 65 6c 65 63 74 |.setline|s.select|
|00005900| 20 63 68 61 72 20 66 69 | 72 73 74 63 68 61 72 50 | char fi|rstcharP|
|00005910| 20 74 6f 20 6c 61 73 74 | 63 68 61 72 20 6f 66 20 | to last|char of |
|00005920| 62 67 20 66 69 65 6c 64 | 20 69 64 20 36 30 0d 69 |bg field| id 60.i|
|00005930| 66 20 6f 63 63 75 72 72 | 65 6e 63 65 73 3d 31 20 |f occurr|ences=1 |
|00005940| 74 68 65 6e 20 65 78 69 | 74 20 74 6f 20 48 79 70 |then exi|t to Hyp|
|00005950| 65 72 63 61 72 64 0d 77 | 61 69 74 20 36 30 20 74 |ercard.w|ait 60 t|
|00005960| 69 63 6b 73 0d 61 64 64 | 20 31 20 74 6f 20 63 6f |icks.add| 1 to co|
|00005970| 75 6e 74 65 72 0d 69 66 | 20 6f 63 63 75 72 72 65 |unter.if| occurre|
|00005980| 6e 63 65 73 3e 63 6f 75 | 6e 74 65 72 20 74 68 65 |nces>cou|nter the|
|00005990| 6e 0d 61 6e 73 77 65 72 | 20 22 44 6f 20 79 6f 75 |n.answer| "Do you|
|000059a0| 20 77 61 6e 74 20 74 6f | 20 6d 65 20 74 6f 20 73 | want to| me to s|
|000059b0| 68 6f 77 20 79 6f 75 20 | 74 68 65 20 6e 65 78 74 |how you |the next|
|000059c0| 20 6f 63 63 75 72 72 65 | 6e 63 65 20 6f 66 20 22 | occurre|nce of "|
|000059d0| 26 c2 0d 73 65 61 72 63 | 68 73 74 72 69 6e 67 26 |&..searc|hstring&|
|000059e0| 22 3f 22 20 77 69 74 68 | 20 22 59 65 73 22 20 6f |"?" with| "Yes" o|
|000059f0| 72 20 22 4e 6f 22 0d 69 | 66 20 69 74 20 69 73 20 |r "No".i|f it is |
|00005a00| 22 4e 6f 22 20 74 68 65 | 6e 20 65 78 69 74 20 74 |"No" the|n exit t|
|00005a10| 6f 20 48 79 70 65 72 63 | 61 72 64 0d 70 75 74 20 |o Hyperc|ard.put |
|00005a20| 66 69 72 73 74 63 68 61 | 72 20 69 6e 74 6f 20 73 |firstcha|r into s|
|00005a30| 74 61 72 74 0d 65 6c 73 | 65 0d 70 6c 61 79 20 68 |tart.els|e.play h|
|00005a40| 61 72 70 73 69 63 68 6f | 72 64 0d 77 61 69 74 20 |arpsicho|rd.wait |
|00005a50| 33 30 20 74 69 63 6b 73 | 0d 41 6e 73 77 65 72 20 |30 ticks|.Answer |
|00005a60| 22 45 6e 64 20 6f 66 20 | 73 65 71 75 65 6e 63 65 |"End of |sequence|
|00005a70| 20 72 65 61 63 68 65 64 | 21 21 21 22 0d 65 78 69 | reached|!!!".exi|
|00005a80| 74 20 74 6f 20 48 79 70 | 65 72 63 61 72 64 0d 65 |t to Hyp|ercard.e|
|00005a90| 6e 64 20 69 66 0d 65 6e | 64 20 72 65 70 65 61 74 |nd if.en|d repeat|
|00005aa0| 0d 65 6e 64 20 73 65 61 | 72 63 68 73 65 71 0d 0d |.end sea|rchseq..|
|00005ab0| 6f 6e 20 66 65 74 63 68 | 6f 6c 69 67 6f 0d 70 75 |on fetch|oligo.pu|
|00005ac0| 74 20 72 65 74 75 72 6e | 26 73 70 61 63 65 20 69 |t return|&space i|
|00005ad0| 6e 74 6f 20 73 74 72 69 | 70 63 68 61 72 73 0d 6c |nto stri|pchars.l|
|00005ae0| 6f 63 6b 74 68 69 6e 67 | 73 0d 67 6f 20 74 6f 20 |ockthing|s.go to |
|00005af0| 63 64 20 31 20 6f 66 20 | 73 74 61 63 6b 20 22 6f |cd 1 of |stack "o|
|00005b00| 6c 69 67 6f 73 22 0d 69 | 66 20 74 68 65 20 72 65 |ligos".i|f the re|
|00005b10| 73 75 6c 74 20 63 6f 6e | 74 61 69 6e 73 20 22 43 |sult con|tains "C|
|00005b20| 61 6e 27 74 20 6f 70 65 | 6e 20 73 74 61 63 6b 22 |an't ope|n stack"|
|00005b30| 20 74 68 65 6e 0d 70 6c | 61 79 20 68 61 72 70 73 | then.pl|ay harps|
|00005b40| 69 63 68 6f 72 64 0d 61 | 6e 73 77 65 72 20 22 54 |ichord.a|nswer "T|
|00005b50| 68 65 20 4f 4c 49 47 4f | 53 20 64 61 74 61 62 61 |he OLIGO|S databa|
|00005b60| 73 65 20 69 73 20 61 6c | 72 65 61 64 79 20 69 6e |se is al|ready in|
|00005b70| 20 75 73 65 21 22 0d 65 | 78 69 74 20 74 6f 20 48 | use!".e|xit to H|
|00005b80| 79 70 65 72 63 61 72 64 | 0d 65 6e 64 20 69 66 0d |ypercard|.end if.|
|00005b90| 67 65 74 20 73 68 6f 77 | 6c 69 73 74 28 63 64 20 |get show|list(cd |
|00005ba0| 66 6c 64 20 22 6f 6c 69 | 67 6f 69 6e 64 65 78 22 |fld "oli|goindex"|
|00005bb0| 20 6f 66 20 63 64 20 31 | 2c 31 33 2c 22 44 4d 20 | of cd 1|,13,"DM |
|00005bc0| 4f 6c 69 67 6f 20 44 61 | 74 61 62 61 73 65 22 2c |Oligo Da|tabase",|
|00005bd0| c2 0d 66 61 6c 73 65 2c | 22 43 61 6e 63 65 6c 2c |..false,|"Cancel,|
|00005be0| 43 6f 6d 70 6c 65 6d 65 | 6e 74 2c 54 68 69 73 20 |Compleme|nt,This |
|00005bf0| 73 74 72 61 6e 64 22 29 | 0d 69 66 20 6c 69 6e 65 |strand")|.if line|
|00005c00| 20 31 20 6f 66 20 69 74 | 20 69 73 20 22 43 61 6e | 1 of it| is "Can|
|00005c10| 63 65 6c 22 20 74 68 65 | 6e 0d 67 6f 20 62 61 63 |cel" the|n.go bac|
|00005c20| 6b 0d 65 78 69 74 20 74 | 6f 20 48 79 70 65 72 63 |k.exit t|o Hyperc|
|00005c30| 61 72 64 0d 65 6c 73 65 | 0d 70 75 74 20 69 74 65 |ard.else|.put ite|
|00005c40| 6d 20 31 20 6f 66 20 6c | 69 6e 65 20 32 20 6f 66 |m 1 of l|ine 2 of|
|00005c50| 20 69 74 20 69 6e 74 6f | 20 6e 61 6d 65 0d 70 75 | it into| name.pu|
|00005c60| 74 20 6c 69 6e 65 20 31 | 20 6f 66 20 69 74 20 69 |t line 1| of it i|
|00005c70| 6e 74 6f 20 73 74 72 61 | 6e 64 0d 73 65 74 20 63 |nto stra|nd.set c|
|00005c80| 75 72 73 6f 72 20 74 6f | 20 34 0d 70 75 74 20 73 |ursor to| 4.put s|
|00005c90| 74 72 69 70 28 73 74 72 | 69 70 63 68 61 72 73 2c |trip(str|ipchars,|
|00005ca0| 6c 69 6e 65 20 32 20 74 | 6f 20 33 20 6f 66 20 66 |line 2 t|o 3 of f|
|00005cb0| 69 65 6c 64 20 31 20 6f | 66 20 63 64 20 6e 61 6d |ield 1 o|f cd nam|
|00005cc0| 65 29 20 69 6e 74 6f 20 | 73 65 71 0d 67 6f 20 62 |e) into |seq.go b|
|00005cd0| 61 63 6b 0d 75 6e 6c 6f | 63 6b 20 73 63 72 65 65 |ack.unlo|ck scree|
|00005ce0| 6e 0d 69 66 20 73 74 72 | 61 6e 64 3d 22 43 6f 6d |n.if str|and="Com|
|00005cf0| 70 6c 65 6d 65 6e 74 22 | 20 74 68 65 6e 0d 69 66 |plement"| then.if|
|00005d00| 20 73 65 71 20 63 6f 6e | 74 61 69 6e 73 20 22 74 | seq con|tains "t|
|00005d10| 22 20 74 68 65 6e 20 70 | 75 74 20 22 44 4e 41 22 |" then p|ut "DNA"|
|00005d20| 20 69 6e 74 6f 20 6e 75 | 63 74 79 70 65 0d 65 6c | into nu|ctype.el|
|00005d30| 73 65 20 70 75 74 20 22 | 52 4e 41 22 20 69 6e 74 |se put "|RNA" int|
|00005d40| 6f 20 6e 75 63 74 79 70 | 65 0d 69 66 20 6e 75 63 |o nuctyp|e.if nuc|
|00005d50| 74 79 70 65 3c 3e 52 4e | 41 20 74 68 65 6e 20 70 |type<>RN|A then p|
|00005d60| 75 74 20 22 66 61 6c 73 | 65 22 20 69 6e 74 6f 20 |ut "fals|e" into |
|00005d70| 72 6e 61 0d 69 66 20 73 | 74 72 69 70 20 28 22 61 |rna.if s|trip ("a|
|00005d80| 74 75 67 63 41 54 55 47 | 43 4e 2a 2e 22 2c 73 65 |tugcATUG|CN*.",se|
|00005d90| 71 29 20 69 73 20 65 6d | 70 74 79 20 69 73 20 66 |q) is em|pty is f|
|00005da0| 61 6c 73 65 20 74 68 65 | 6e 0d 61 6e 73 77 65 72 |alse the|n.answer|
|00005db0| 20 22 49 6e 76 61 6c 69 | 64 20 63 68 61 72 61 63 | "Invali|d charac|
|00005dc0| 74 65 72 73 20 75 73 65 | 64 21 22 20 77 69 74 68 |ters use|d!" with|
|00005dd0| 20 22 43 61 6e 63 65 6c | 22 0d 65 78 69 74 20 74 | "Cancel|".exit t|
|00005de0| 6f 20 48 79 70 65 72 43 | 61 72 64 0d 65 6e 64 20 |o HyperC|ard.end |
|00005df0| 69 66 0d 70 75 74 20 72 | 65 76 65 72 73 65 53 74 |if.put r|everseSt|
|00005e00| 72 69 6e 67 28 73 65 71 | 29 20 69 6e 74 6f 20 72 |ring(seq|) into r|
|00005e10| 63 6f 75 74 0d 69 66 20 | 72 6e 61 20 69 73 20 22 |cout.if |rna is "|
|00005e20| 66 61 6c 73 65 22 20 74 | 68 65 6e 20 70 75 74 20 |false" t|hen put |
|00005e30| 22 54 41 41 43 47 22 20 | 69 6e 74 6f 20 74 6f 53 |"TAACG" |into toS|
|00005e40| 74 72 0d 65 6c 73 65 20 | 70 75 74 20 22 55 41 41 |tr.else |put "UAA|
|00005e50| 43 47 22 20 61 66 74 65 | 72 20 74 6f 53 74 72 0d |CG" afte|r toStr.|
|00005e60| 70 75 74 20 74 72 61 6e | 73 6c 69 74 28 22 61 74 |put tran|slit("at|
|00005e70| 75 67 63 41 54 55 47 43 | 22 2c 20 74 6f 53 74 72 |ugcATUGC|", toStr|
|00005e80| 20 26 20 74 6f 53 74 72 | 2c 20 72 63 6f 75 74 29 | & toStr|, rcout)|
|00005e90| 20 69 6e 74 6f 20 72 63 | 6f 75 74 0d 70 75 74 20 | into rc|out.put |
|00005ea0| 74 72 61 6e 73 6c 69 74 | 28 22 c2 41 54 55 47 43 |translit|(".ATUGC|
|00005eb0| 2e 4e 2a 22 2c 20 22 20 | 22 2c 20 72 63 6f 75 74 |.N*", " |", rcout|
|00005ec0| 29 20 69 6e 74 6f 20 73 | 65 71 0d 65 6e 64 20 69 |) into s|eq.end i|
|00005ed0| 66 0d 72 65 74 75 72 6e | 20 73 65 71 26 26 6e 61 |f.return| seq&&na|
|00005ee0| 6d 65 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 66 65 |me.end i|f.end fe|
|00005ef0| 74 63 68 6f 6c 69 67 6f | 0d 0d 6f 6e 20 73 68 6f |tcholigo|..on sho|
|00005f00| 77 66 6f 72 6d 0d 67 6c | 6f 62 61 6c 20 66 6f 72 |wform.gl|obal for|
|00005f10| 6d 73 74 61 74 75 73 0d | 69 66 20 62 67 20 66 6c |mstatus.|if bg fl|
|00005f20| 64 20 22 73 74 6f 72 65 | 64 67 65 6e 62 61 6e 6b |d "store|dgenbank|
|00005f30| 22 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 74 |" is not| empty t|
|00005f40| 68 65 6e 0d 61 6e 73 77 | 65 72 20 22 44 6f 20 79 |hen.answ|er "Do y|
|00005f50| 6f 75 20 77 61 6e 74 20 | 74 6f 20 6d 6f 64 69 66 |ou want |to modif|
|00005f60| 79 20 74 68 65 20 66 6f | 72 6d 20 79 6f 75 20 61 |y the fo|rm you a|
|00005f70| 6c 72 65 61 64 79 20 68 | 61 76 65 20 73 74 6f 72 |lready h|ave stor|
|00005f80| 65 64 20 6f 72 20 73 74 | 61 72 74 20 61 20 6e 65 |ed or st|art a ne|
|00005f90| 77 20 66 6f 72 6d 3f 22 | 20 77 69 74 68 20 22 4d |w form?"| with "M|
|00005fa0| 6f 64 69 66 79 22 20 6f | 72 20 22 4e 65 77 22 20 |odify" o|r "New" |
|00005fb0| 6f 72 20 22 43 61 6e 63 | 65 6c 22 0d 69 66 20 69 |or "Canc|el".if i|
|00005fc0| 74 20 69 73 20 22 43 61 | 6e 63 65 6c 22 20 74 68 |t is "Ca|ncel" th|
|00005fd0| 65 6e 20 65 78 69 74 20 | 74 6f 20 48 79 70 65 72 |en exit |to Hyper|
|00005fe0| 63 61 72 64 0d 65 6c 73 | 65 20 69 66 20 69 74 20 |card.els|e if it |
|00005ff0| 69 73 20 22 4d 6f 64 69 | 66 79 22 20 74 68 65 6e |is "Modi|fy" then|
|00006000| 0d 47 65 74 46 75 6c 6c | 54 65 78 74 20 22 62 67 |.GetFull|Text "bg|
|00006010| 20 66 6c 64 20 22 26 26 | 20 71 75 6f 74 65 20 26 | fld "&&| quote &|
|00006020| 22 73 74 6f 72 65 64 47 | 65 6e 62 61 6e 6b 22 26 |"storedG|enbank"&|
|00006030| 71 75 6f 74 65 0d 53 65 | 74 46 75 6c 6c 54 65 78 |quote.Se|tFullTex|
|00006040| 74 20 22 62 67 20 66 6c | 64 20 22 26 26 20 71 75 |t "bg fl|d "&& qu|
|00006050| 6f 74 65 20 26 22 47 65 | 6e 62 61 6e 6b 22 26 71 |ote &"Ge|nbank"&q|
|00006060| 75 6f 74 65 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |uote.end| if.end |
|00006070| 69 66 0d 69 66 20 62 67 | 20 66 6c 64 20 22 73 74 |if.if bg| fld "st|
|00006080| 6f 72 65 64 67 65 6e 62 | 61 6e 6b 22 20 69 73 20 |oredgenb|ank" is |
|00006090| 65 6d 70 74 79 20 6f 72 | 20 69 74 3d 22 4e 65 77 |empty or| it="New|
|000060a0| 22 20 74 68 65 6e 0d 6c | 6f 63 6b 74 68 69 6e 67 |" then.l|ockthing|
|000060b0| 73 0d 67 6f 20 74 6f 20 | 63 64 20 31 0d 47 65 74 |s.go to |cd 1.Get|
|000060c0| 46 75 6c 6c 54 65 78 74 | 20 22 63 64 20 66 6c 64 |FullText| "cd fld|
|000060d0| 20 22 26 26 20 71 75 6f | 74 65 20 26 22 47 65 6e | "&& quo|te &"Gen|
|000060e0| 62 61 6e 6b 22 26 71 75 | 6f 74 65 0d 67 6f 20 62 |bank"&qu|ote.go b|
|000060f0| 61 63 6b 0d 53 65 74 46 | 75 6c 6c 54 65 78 74 20 |ack.SetF|ullText |
|00006100| 22 62 67 20 66 6c 64 20 | 22 26 26 20 71 75 6f 74 |"bg fld |"&& quot|
|00006110| 65 20 26 22 47 65 6e 62 | 61 6e 6b 22 26 71 75 6f |e &"Genb|ank"&quo|
|00006120| 74 65 0d 65 6e 64 20 69 | 66 0d 73 68 6f 77 20 62 |te.end i|f.show b|
|00006130| 67 20 66 6c 64 20 22 47 | 65 6e 62 61 6e 6b 22 0d |g fld "G|enbank".|
|00006140| 70 75 74 20 22 48 69 64 | 65 20 46 6f 72 6d 22 20 |put "Hid|e Form" |
|00006150| 69 6e 74 6f 20 6c 61 73 | 74 20 6d 65 6e 75 69 74 |into las|t menuit|
|00006160| 65 6d 20 6f 66 20 6d 65 | 6e 75 20 22 53 65 71 75 |em of me|nu "Sequ|
|00006170| 65 6e 63 65 73 22 0d 73 | 65 74 20 74 68 65 20 63 |ences".s|et the c|
|00006180| 6f 6d 6d 61 6e 64 63 68 | 61 72 20 6f 66 20 6d 65 |ommandch|ar of me|
|00006190| 6e 75 69 74 65 6d 20 22 | 48 69 64 65 20 46 6f 72 |nuitem "|Hide For|
|000061a0| 6d 22 20 6f 66 20 6d 65 | 6e 75 20 22 53 65 71 75 |m" of me|nu "Sequ|
|000061b0| 65 6e 63 65 73 22 20 74 | 6f 20 47 0d 65 6e 64 20 |ences" t|o G.end |
|000061c0| 73 68 6f 77 66 6f 72 6d | 0d 0d 6f 6e 20 68 69 64 |showform|..on hid|
|000061d0| 65 66 6f 72 6d 0d 67 6c | 6f 62 61 6c 20 66 6f 72 |eform.gl|obal for|
|000061e0| 6d 73 74 61 74 75 73 0d | 69 66 20 62 67 20 66 6c |mstatus.|if bg fl|
|000061f0| 64 20 22 67 65 6e 62 61 | 6e 6b 22 3c 3e 63 64 20 |d "genba|nk"<>cd |
|00006200| 66 6c 64 20 22 67 65 6e | 62 61 6e 6b 22 20 6f 66 |fld "gen|bank" of|
|00006210| 20 63 64 20 31 20 6f 72 | 20 62 67 20 66 6c 64 20 | cd 1 or| bg fld |
|00006220| 22 67 65 6e 62 61 6e 6b | 22 3c 3e 62 67 20 66 6c |"genbank|"<>bg fl|
|00006230| 64 20 22 73 74 6f 72 65 | 64 67 65 6e 62 61 6e 6b |d "store|dgenbank|
|00006240| 22 20 74 68 65 6e 0d 61 | 6e 73 77 65 72 20 22 44 |" then.a|nswer "D|
|00006250| 6f 20 79 6f 75 20 77 61 | 6e 74 20 74 6f 20 73 61 |o you wa|nt to sa|
|00006260| 76 65 20 74 68 65 20 47 | 65 6e 62 61 6e 6b 20 66 |ve the G|enbank f|
|00006270| 6f 72 6d 3f 22 20 77 69 | 74 68 20 22 59 65 73 22 |orm?" wi|th "Yes"|
|00006280| 20 6f 72 20 22 4e 6f 22 | 20 6f 72 20 22 43 61 6e | or "No"| or "Can|
|00006290| 63 65 6c 22 0d 69 66 20 | 69 74 20 69 73 20 22 43 |cel".if |it is "C|
|000062a0| 61 6e 63 65 6c 22 20 74 | 68 65 6e 20 65 78 69 74 |ancel" t|hen exit|
|000062b0| 20 74 6f 20 48 79 70 65 | 72 63 61 72 64 0d 65 6c | to Hype|rcard.el|
|000062c0| 73 65 20 69 66 20 69 74 | 20 69 73 20 22 59 65 73 |se if it| is "Yes|
|000062d0| 22 20 74 68 65 6e 0d 69 | 66 20 62 67 20 66 6c 64 |" then.i|f bg fld|
|000062e0| 20 22 73 74 6f 72 65 64 | 47 65 6e 62 61 6e 6b 22 | "stored|Genbank"|
|000062f0| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|00006300| 65 6e 0d 61 6e 73 77 65 | 72 20 22 44 6f 20 79 6f |en.answe|r "Do yo|
|00006310| 75 20 77 61 6e 74 20 74 | 6f 20 72 65 70 6c 61 63 |u want t|o replac|
|00006320| 65 20 65 78 69 73 74 69 | 6e 67 20 66 6f 72 6d 3f |e existi|ng form?|
|00006330| 22 20 77 69 74 68 20 22 | 59 65 73 22 20 6f 72 20 |" with "|Yes" or |
|00006340| 22 4e 6f 22 20 6f 72 20 | 22 43 61 6e 63 65 6c 22 |"No" or |"Cancel"|
|00006350| 0d 69 66 20 69 74 20 69 | 73 20 22 43 61 6e 63 65 |.if it i|s "Cance|
|00006360| 6c 22 20 74 68 65 6e 20 | 65 78 69 74 20 74 6f 20 |l" then |exit to |
|00006370| 48 79 70 65 72 63 61 72 | 64 0d 65 6c 73 65 20 69 |Hypercar|d.else i|
|00006380| 66 20 69 74 20 69 73 20 | 22 59 65 73 22 20 74 68 |f it is |"Yes" th|
|00006390| 65 6e 0d 47 65 74 46 75 | 6c 6c 54 65 78 74 20 22 |en.GetFu|llText "|
|000063a0| 62 67 20 66 6c 64 20 22 | 26 26 20 71 75 6f 74 65 |bg fld "|&& quote|
|000063b0| 20 26 22 47 65 6e 62 61 | 6e 6b 22 20 26 20 71 75 | &"Genba|nk" & qu|
|000063c0| 6f 74 65 0d 53 65 74 46 | 75 6c 6c 54 65 78 74 20 |ote.SetF|ullText |
|000063d0| 22 62 67 20 66 6c 64 20 | 22 26 26 20 71 75 6f 74 |"bg fld |"&& quot|
|000063e0| 65 20 26 22 73 74 6f 72 | 65 64 47 65 6e 62 61 6e |e &"stor|edGenban|
|000063f0| 6b 22 20 26 20 71 75 6f | 74 65 0d 70 75 74 20 65 |k" & quo|te.put e|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.